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! 🎉