This is Documentation how to set up this project!
-
Clone this repository to your local machine using:
git clone https://github.com/dj1samsoe/do-it.git
-
Navigate to the project directory:
cd do-it
-
Install the dependencies:
npm install
- Configure your settings in the .env file.
- Get the Google Secret key in Google Cloud Console until get this :
then copy the key, and paste into your .env file
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET=
- Add this to your .env file :
NEXTAUTH_URL=http://localhost:3000/api/auth NEXTAUTH_SECRET=your_secret_code
- Connect your database using Postgresql (in my case I'm using Aiven)
- Paste your database url like this :
DATABASE_URL="postgres://username:password@host:port/dbname"
- Run the Prisma migration to set up your database schema:
npx prisma migrate dev
- Start the development server:
npm run dev
- Access the application in your browser at http://localhost:3000.
- Design UI : Behance
- Documentation :