This's a simple ToDo app writing in JavaScript with Nodejs, express, MongoDB, Vite + React and Socket.io.
To download this project, clone the repository using Git.
git clone https://github.com/Yumiko0828/todo-app.git
The project has a Back-end (~/server
) and a Front-end (~/client
).
cd <client or server> # To change de directory
npm install # If you're using NPM.
yarn install # If you're using YARN.
pnpm install # If you're using PNPM.
Rename ~/server/.env.example
to ~/server/.env
and enter your MongoDB URI, it should look like this:
MONGODB_URI=<URI>
First the Back-end.
cd server
npm run dev
Then the Front-end (in other terminal).
cd client
npm run dev
Check the output in your terminal.
The Back-end.
npm start
To Build the Front-end.
cd client
npm run build
npm preview # To see a preview
This project is licensed under the MIT license.