- Node.js (npm)
- Yarn
- Follow this tutorial: MongoDB Setup Guide (watch between 2:01:08 and 2:03:00).
- Copy the provided MongoDB connection string.
- In the
backend/directory, create a.envfile with the following content:PORT=8000 MONGO_URL=mongodb+srv://... (your connection string) - Install the required dependencies:
cd backend yarn - Start the server:
yarn start
- Open
frontend/index.htmlin your browser. - (Optional) If running on a remote server, navigate to the
frontend/directory and run the following command. Also, update thebaseURLinfrontend/index.jsto your domain:python3 -m http.server [PORT]
This project is the HW1 for the EE3035: Web Programming course, Fall 2023. Some of the code has been adapted from the demo available at: https://github.com/ntuee-web-programming/112-1-unit1-todo-list/tree/main, which is licensed under the MIT License.