Do you need a api solution that is easy to build and all javascript? Then you're in the right place with Men Stack JS. There is no steep learning curve and it only takes an average of 10 minutes to get your base code up and running. We've made the development process as simple and scalable as possible.
Note all documentation of the backend lives in the MenStackJS repo
For the full version, start here instead:
For the lite version, start here instead:
Start learning with documentation:
Check out this YouTube channel that has content to help you:
- Subscribe to our Youtube Channel - MeanStackJs
- Watch MeanStackJs - How to series
- Watch MeanStackJs - Error series
Want more content?
This repo is for the api of the main meanstackjs. This repo will be great for you if you want just the backend. This repo will also be for the purpose of teaching or if you want just the base functionally. Please refer to all live documentation back at MeanStackJS
Stack
- MongoDB - MongoDB is the leading NoSQL database, empowering businesses to be more agile and scalable.
- Express - Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
- Node.js - Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.
Download and Install mongodb - Checkout their manual if you're just starting.
Download and Install Node.js - nodeschool has free node tutorials to get you started.
Note: If you are new to Node or Express, we recommend to watch Node.js and Express 101 screencast by Alex Ford that teaches Node and Express from scratch. Alternatively, here is another great tutorial for complete beginners - Getting Started With Node.js, Express, MongoDB.
The easiest way to get started is to clone the repository:
# Get the latest snapshot
git clone https://github.com/greenpioneersolutions/menstackjs.git
# Change directory
cd menstackjs
# Install NPM dependencies
npm install
# Start up the server
npm start
# Docker
docker-compose up
Note: We highly recommend installing Nodemon.
It watches for any changes in your node.js app and automatically restarts the
server. Once installed, instead of node index.js
use nodemon index.js
. It will
save you a lot of time in the long run, because you won't need to manually
restart the server each time you make a small change in code. To install, run
sudo npm install -g nodemon
.