This repo contains todo list application built with React.js and Supabase (BaaS).
cp .env.example .env.development
# Fill in your supabase project configuration
vi .env.development
The following commands will help you set up the database.
yarn sequelize-cli db:migrate
See files under sequelize/migrations
directory for details.
yarn start
- http://locahost:3000/
- If port 3000 is already in use, another port will be allocated.
This project uses Sequelize to migrate or manage the database (Postgres).
# Case: Set NODE_ENV variable
## Loading .env.development file
NODE_ENV=development yarn sequelize-cli {some-command}
## Loading .env.production file
NODE_ENV=production yarn sequelize-cli {some-command}
# Case: Not set NODE_ENV variable
## Loading .env.development file (default: development)
yarn sequelize-cli {some-command}
Login Form | Todo List |
---|---|