andrelinos / nlw-11-setup-habits-nextjs-13

Desenvolvido a aplicação da NLW Setup - Habits em Next.js 13 usando a api do Next para servir informações do banco.

Home Page:https://habits-ecru.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nlw 11 Habits

 

Habits

Github top language Github language count Repository size License


About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


About

Describe your project

✨ Features

  • 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...

🚀 Technologies

The following tools were used in this project:

The following tools were used in this project:

✅ Requirements

Before starting 🏁, you need to have installed.

Database required

__ Tips: How to install docker in your system

If you will use docker

docker run --name postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres

Config for .env.local

Note: Rename .env.example to .env.local

DATABASE_URL="postgresql://postgres:docker@localhost:5432/postgres?schema=habits"

🏁 Starting

# 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>

Screen app

Nlw 11 Habits

 

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by Andrelino Silva

 

Back to top

About

Desenvolvido a aplicação da NLW Setup - Habits em Next.js 13 usando a api do Next para servir informações do banco.

https://habits-ecru.vercel.app

License:MIT License


Languages

Language:TypeScript 97.5%Language:JavaScript 2.0%Language:CSS 0.3%Language:Shell 0.2%