Skip to content

Lugdu84/plan-together

Repository files navigation

Plan Together

This is a Next.js project bootstrapped with create-next-app.

Run the project

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Run the local db

The local database is set up with docker for interoperability's sake.

To run it locally, do these commands:

$ docker-compose up -d 
#runs docker, might pull an image before

$ npx prisma migrate dev 
#to push the schema into the database

$ npx prisma db seed 
#to populate database with fake data

$ npx prisma studio
#to open a database viewer

$ docker stop
#to stop container

Run password reinitialization

To run the password reinitialization, you need create .env.local file in the root of the project and add the following variables, use https://ethereal.email/ and create a user to use the service and add NODE_ENV=development to the .env file:

JWT_SECRET=your-secret ETHEREAL_USER=email-user ETHEREAL_PASS=password-user

Releases

No releases published

Packages

No packages published

Languages