MERNG
MERNG is an extended Kriasoft's scaffolding tool which makes it easy to build universal apps using Mongo, Express, React, NodeJS and GraphQL. It minimises the setup time and gets you up to speed using proven technologies.
Play with GraphQL here: http://localhost:3000/graphql
mutation {
databaseCreateUser(
email: "testuser1@gmail.com"
password: "111111"
) {
success,
error,
user {
_id,
email
}
}
}
query {
databaseGetAllUsers {
_id,
email,
}
}
Getting Started
These instructions will get you a copy of the project up and running on your local Linux or Mac OS X machine
Please make sure your MongoDB is installed
Installing
Move to your web projects directory and clone the application using Git
cd /var/www/html
git clone https://github.com/kutaloweb/merng
Move to application directory
cd merng
Install the application dependencies
npm install
Start mongod server
mongod
Execute the NPM script
npm run start
Deploy
Start app with process manager PM2 (you might have to change the path and the mode in start.sh)
pm2 start start.sh --name merng
Contributing
As an open project, I welcome contributions from everybody. Please, feel free to fork the repository and submit pull requests
License
This project is licensed under the MIT License - see the LICENSE file for details
Premium Support
Want help with implementation or new features? Start a conversation with me: kutalo84@gmail.com