An open API service indexing awesome lists of open source software.

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.

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.