The MEAN Stack Full Starter Template is one of the best resources for your next web development project! MEAN is a full-stack development toolkit using the Javascript-based technologies MongoDB, Express, Angular, and Node.js. Many of the necessary features needed for today's modern web apps are directly built-in for immediate use, including authentication with JWT, cloud database service with MongoDB Atlas, cloud storage with Amazon S3, integration with the Stripe API, and server-side rendering with Angular Universal for SEO and social media compatibility.
- MongoDB v3.4.13 (Mongoose v5.0.11)
- Express v4.16.3
- Angular v5.2.9 (Angular CLI 1.7.3)
- Node.js v9.9.0
- Clone this repo:
git clone https://github.com/stanleyeosakul/mean-full-starter
cd
into this repository- Run
yarn install
to install dependencies - In
/node_src/config
, add all your API keys intokeys.js
- In
/src/environments
, add your stripe publishable API key intoenvironment.ts
andenvironment.prod.ts
- Run
yarn run build-prod
- Navigate to
http://localhost:3000
- Choose to run the development or production server
- Development
- Front End (Angular)
- Run
yarn run serve
, and navigate tohttp://localhost:4200/
.
- Run
- Back End (MongoDB, Express, Node.js)
- Run
yarn start
, and navigate tohttp://localhost:3000/
.
- Run
- Front End (Angular)
- Production
- Run
yarn run build-prod
, and navigate tohttp://localhost:3000/
.
- Run
yarn run build
- Builds the Angular project into the
dist/
folder without build optimization - Builds the Angular Universal server into the
dist-server/
folder
- Builds the Angular project into the
yarn run build-prod
- Runs
yarn run build
as above - Runs the
server.js
node app
- Runs
yarn serve
- Runs the development server
ng serve --aot
- Runs the development server
yarn start
- Runs the
server.js
node app
- Runs the
- Express
- Mongoose
- Multer
- Multer-S3
- AWS-SDK
- Stripe
- Angular Universal
- Zone.js
- Angular Platform Server
- ngUniversal Express Engine
- ngUniversal Module Map ngFactory Loader
- Angular CLI v1.7.3
- Morgan Logging library
- Typescript
- Karma
- Protractor
- Jasmine