✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
In the root directory, run the following command to install all packages:
npm i
Run the following command to start the development api server:
npm run dev:api
If successful, you should see the following output:
API listening at http://localhost:3333 📡
Atlas connected
Important
The api server requires a MongoDB connection. For the purpose of this exercise, I have created a MongoDB Atlas account and created a cluster. The connection string is stored in the .env file.
In a new terminal, run the following command to start the development web server:
npm run dev:ui
If successful, you should see the following output:
> NX Web Development Server is listening at http://localhost:4200/
Connect to http://localhost:4200/ in your browser of choice.