https://github.com/ribborges/tasks-api
A simple tasks/to-do app with categories
https://github.com/ribborges/tasks-api
authentication cookie-parser express jwt mongodb node nodejs typescript
Last synced: 2 months ago
JSON representation
A simple tasks/to-do app with categories
- Host: GitHub
- URL: https://github.com/ribborges/tasks-api
- Owner: ribborges
- License: mpl-2.0
- Created: 2024-05-15T02:57:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-17T17:28:33.000Z (2 months ago)
- Last Synced: 2026-04-17T19:28:03.054Z (2 months ago)
- Topics: authentication, cookie-parser, express, jwt, mongodb, node, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 252 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tasks: Your to-do app ☑️
A simple tasks/to-do app with categories. Develop with TypeScript, Express, MongoDB, cookie-parser and JWT.
## Features
- User authentication (login, registration) with JWT
- Protected routes
- Task management with categories
- CRUD operations for resources
- Error handling
## Prerequisites
- Node.js
- npm
## Running with npm
1. Download and install [node.js](https://nodejs.org/en).
2. ### Set the .env variables
- MONGO_URI (MongoDB connection string)
- PORT (The default port of the server)
- SECRET (Secret string for password hashing)
- CLIENT_URL (Array of URLs separated by comma, for CORS)
3. Open your terminal/cmd on the repo directory
4. Install dependencies
```bash
> npm install
```
5. Start the app
```bash
> npm run dev
```
[WEB APP repo](https://github.com/ribborges/tasks-web)
[MOBILE APP repo](https://github.com/ribborges/tasks-mobile)