Skip to content

MANN stack | Mongo, Angular, NestJS, Node - Fullstack app for Delfosti

Notifications You must be signed in to change notification settings

Aireck2/maan-stack

Repository files navigation

Exercise App for Delfosti

This project was generated with Angular CLI version 14.2.2.

🚀 Build instructions / How to start the project

  1. Downloard/clone the git repository

  2. Open terminal/command prompt

  3. cd (change directory) into the project folder

  4. Run npm install in your terminal

  5. Run ng serve to run the Angular frontend

  6. Open your browser and navigate to https://localhost:4200/

  7. To run the backend: cd (change directory) to ./backend folder.

    Make sure to add yours env vars in .env file as is shown in .env.test file

  8. Run npm install, then npm run dev to run the backend server

🚨 Development server

Run ng serve for a dev server. Navigate to https://localhost:4200/. The app will automatically reload if you change any of the source files. Run npm run dev for a backend server. Navigate to https://localhost:9090/graphql.

🚨 Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

🚨 Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

🚨 Running unit tests

Run ng test to execute the unit tests via Karma.

🚨 Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

🚨 Further help

To get more help on this please email "[email protected]" or feel free to open a issue