elyps / mean-stack-template

MongoDB, ExpressJS, Angular & NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEAN STACK TEMPLATE

MongoDB, Express, Angular & Node


Frontend: Angular & Angular Material

Backend: Node & Express

Database: MongoDB & Mongoose

E-Mail Provider: EmailJS (200 E-Mails / Month Free)

Website: https://www.emailjs.com/


Tested with version:

  • Angular CDK v15.1.0
  • Angular Material v15.1.0
  • Node v18.13.0
  • Express v4.18.2
  • MongoDB v6.0.3
  • Mongoose v6.8.3
  • EmailJS v3.10.0
  • JasonWebToken v9.0.0

Installation
git clone https://github.com/elyps/mean-stack-template.git

Create environments

touch client/src/environments/environment.ts
touch client/src/environments/environment.prod.ts

Example environment.ts

export const environment = {
  production: false,
  apiKey: '<api-key>',
  serviceKey: '<service_id>',
  templateKey: '<template_id>'
};

Example environment.prod.ts

export const environment = {
  production: true,
  apiKey: '<api-key>',
  serviceKey: '<service_id>',
  templateKey: '<template_id>'
};

FRONTEND

cd client
npm install
npm start

BACKEND

cd server
npm install
npm start

Now visit [http://localhost:4200](http://localhost:4200) and Voila! 🎉

About

MongoDB, ExpressJS, Angular & NodeJS


Languages

Language:TypeScript 43.4%Language:HTML 30.5%Language:JavaScript 17.9%Language:SCSS 8.1%