About | Features | Technologies | Requirements | Starting | License | Author
Describe your project
- Create habit
- List habits
- Check/UnCheck habits same done
- Progressbar for habits
- Edit habit
- Delete habit
- Report habits
- List habits by category
- List habits by period
- Alert user about habit from day
- more...
The following tools were used in this project:
The following tools were used in this project:
Before starting 🏁, you need to have installed.
__ Tips: How to install docker in your system
docker run --name postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
Note: Rename .env.example
to .env.local
DATABASE_URL="postgresql://postgres:docker@localhost:5432/postgres?schema=habits"
# Clone this project
$ git clone https://github.com/andrelinos/nlw-11-setup-habits-nextjs-13 habits
# Access
$ cd habits
# Install dependencies
$ npm i
# execute migration dev prisma
$ npx prisma migrate dev
# Populate database
$ npx prisma db seed
# Run the project
$ npm rum dev
# The server will initialize in the <http://localhost:3000/api>
# The web will initialize in the <http://localhost:3000>
This project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by Andrelino Silva