An example full stack application using Node.js and Angular
See the live demo HERE.
The following items are required to be installed globally in order to run the application locally:
To run the application locally:
- Clone this repository.
- From the
api/
directory runyarn compose up
to start the database. - From the
api/
directory runyarn db:reset
to populate the database. - From the
api/
directory runyarn start:dev
to start the application server. - In a separate terminal window, run
yarn start:dev
from theweb/
directory to start the web server.
The following URLs should now be available:
- Web UI: http://localhost:4200/
- Swagger UI: http://localhost:3000/api/v1/docs
- pgAdmin4 (Database): http://localhost:8081/
- Username:
postgres@admin.com
- Password:
password
- Username:
- From the
api/
directory runyarn test
- From the
web/
directory runyarn test
- From the
api/
directory runyarn test:e2e
- From the
web/
directory runyarn test:e2e