https://github.com/yumikodev/todo-app
A simple To Do application with Nodejs, Express, Socket.io, Mongodb and React.
https://github.com/yumikodev/todo-app
express javascript mongodb mongoose nodejs react socket-io vite
Last synced: 2 months ago
JSON representation
A simple To Do application with Nodejs, Express, Socket.io, Mongodb and React.
- Host: GitHub
- URL: https://github.com/yumikodev/todo-app
- Owner: yumikodev
- License: mit
- Created: 2023-06-05T23:57:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T18:32:05.000Z (about 3 years ago)
- Last Synced: 2025-02-14T10:01:44.146Z (over 1 year ago)
- Topics: express, javascript, mongodb, mongoose, nodejs, react, socket-io, vite
- Language: JavaScript
- Homepage: https://todo-app-front.yumiko0828.repl.co/
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ToDo App
This's a simple ToDo app writing in JavaScript with Nodejs, express, MongoDB, Vite + React and Socket.io.
# Cloning git repository
To download this project, clone the repository using Git.
```bash
git clone https://github.com/Yumiko0828/todo-app.git
```
## Installing dependencies
The project has a Back-end (`~/server`) and a Front-end (`~/client`).
```bash
cd # 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.
```
## Configuration
Rename `~/server/.env.example` to `~/server/.env` and enter your MongoDB URI, it should look like this:
```env
MONGODB_URI=
```
## Start app in development mode
First the Back-end.
```bash
cd server
npm run dev
```
Then the Front-end (in other terminal).
```bash
cd client
npm run dev
```
Check the output in your terminal.
## Start app in production mode
The Back-end.
```bash
npm start
```
To Build the Front-end.
```bash
cd client
npm run build
npm preview # To see a preview
```
# License
This project is licensed under the MIT license.