Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanuarprayoga9/todos-technical-test
https://github.com/yanuarprayoga9/todos-technical-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanuarprayoga9/todos-technical-test
- Owner: Yanuarprayoga9
- Created: 2024-06-03T10:39:52.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-05T21:21:04.000Z (7 months ago)
- Last Synced: 2024-06-05T22:50:21.236Z (7 months ago)
- Language: TypeScript
- Homepage: https://mytodos-gold.vercel.app/
- Size: 422 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TODOLIST APP
## DEPLOYMENT
vercel
link : https://mytodos-gold.vercel.app/## Run Locally
### Cloning the repository
```shell
git clone https://github.com/Yanuarprayoga9/todos-technical-test.git
```### open file
```shell
cd todos-technical-test
```### Install packages
```shell
npm i
```### Setup .env file
```shell
# copy .env.example
cp .env.example .env
```
or
```js
# manual setup env
touch .env
DATABASE_URL="postgresql://todos_owner:4Lts5KuqrIPx@ep-spring-water-a15hbzw4.ap-southeast-1.aws.neon.tech/todos?sslmode=require"
```### Connect to Postgre and generate Prisma
```shell
npx prisma generate
```### Start the app
```shell
npm run dev
```## Available commands
Running commands with npm `npm run [command]`
| command | description |
| :-------------- | :--------------------------------------- |
| `dev` | Starts a development instance of the app |
| `lint` | Starts a lint |