• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚧 MER(A)N FullStack JS Web App Boilerplate using NodeJS, Express, Mongo, Apollo GraphQL and ReactJS

react boilerplate banner


Start your next FullStack project in seconds!

MER(A)N is a FullStack opinionated monorepo webapp boilerplate based on the MERN stack with Apollo GraphQL.

Made with ❤️ by IgorMCesar.




Porject Example Gif

Tech Stack

Core Dev

Server

Client

Getting Started

Prerequisites

Note: If you are new to Node, Express, Mongo, React or GraphQL you may find Build a Complete App with GraphQL, Node.js, MongoDB and React.js from @maxedapps helpful for learning everything you need to know.

Installing

The easiest way is to clone the repository and run npm run install:all:

# Get the latest version
git clone https://github.com/IgorMCesar/react-node-boilerplate.git myproject

# Change current directory to the newly created one
cd myproject

# Install NPM dependencies of all packages(core, server and client)
npm run install:all

Now lets set the environment variables. Open .env.example and use it to create your own .env file and set your variables.

Note: If you are using mongo server locally MONGO_DB_URI should look something like this mongodb://localhost:27017/test

Running React Node Boilerplate

Development

To run MERN(A) using development configs run:

npm run dev

Production

// TODO

Deployment

// TODO

Note: Make sure you didn't forget any sensitive information in your code, remeber to always use .env file for that!

License

This project is licensed under the MIT license, Copyright © 2019 Igor Cesar. For more information see LICENSE.