https://github.com/viniciusmassari/task-creator
Rocketseat ignite node challenge
https://github.com/viniciusmassari/task-creator
Last synced: 8 months ago
JSON representation
Rocketseat ignite node challenge
- Host: GitHub
- URL: https://github.com/viniciusmassari/task-creator
- Owner: ViniciusMassari
- Created: 2025-02-21T22:37:27.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T06:26:17.000Z (8 months ago)
- Last Synced: 2025-02-22T07:23:42.033Z (8 months ago)
- Language: TypeScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task creator
Simple task creator with simple csv upload
## 💻 Techs
- Fastify
- fast-csv
- Typescript
- Prisma ORM
- Zod## How to use
```console
git clone git@github.com:ViniciusMassari/task-creator.git
```Open the project and then:
```console
npm installnpm run start:dev
```Create a .env file inside the root and create a var like:
```console
DATABASE_URL="postgresql://docker:docker@localhost:5432/task?schema=public"
```Afterwards execute:
```console
docker compose up -dnpx prisma studio
```Open the docs in endpoint: /documentation
### Uploading csv
The CSV file should be like the one inside the assets folder, you can use it.
### Opening the database
```console
npx prisma studio
```