https://github.com/jhonbergmann/todo-app
📝 A simple to-do list application.
https://github.com/jhonbergmann/todo-app
bootstrap mongodb pm2 react
Last synced: 10 months ago
JSON representation
📝 A simple to-do list application.
- Host: GitHub
- URL: https://github.com/jhonbergmann/todo-app
- Owner: jhonbergmann
- License: mit
- Archived: true
- Created: 2021-01-12T23:09:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-19T06:51:27.000Z (over 1 year ago)
- Last Synced: 2025-03-03T02:41:38.448Z (over 1 year ago)
- Topics: bootstrap, mongodb, pm2, react
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
todo app
A simple to-do list application.
## 📦 Tech Stack
[check web in package.json](web/package.json)
[check backend in package.json](backend/package.json)
## 🔩 Installation
To install and run the project locally, follow these steps:
### 1️⃣ Prerequisites
- [**Node.js**](https://nodejs.org/) version v16.15.0
- [**MongoDB**](https://www.mongodb.com/) running locally
### 2️⃣ Clone the repository
```sh
git clone https://github.com/jhonbergmann/todo-app.git
cd todo-app
```
## 🗃 Database
1. Start MongoDB:
- Run `mongod` in the terminal **or**
- Run `MongoDB\Server\4.4\bin\mongod.exe`
## ⚙️ Backend
1. Navigate to the backend directory and install dependencies:
```sh
cd backend
npm install
```
2. Start the backend server:
```sh
npm run production
```
3. To monitor the process with PM2:
```sh
./node_modules/.bin/pm2 monit
```
## 🌐 Web
1. Navigate to the web directory and install dependencies:
```sh
cd web
npm install
```
2. Start the development server:
```sh
npm run dev
```
3. Open in your browser:
```
http://localhost:9090
```
## 📝 License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.