This repository contains an authentication app built using technologies like Next.js, React, Redux, Prisma, and more. It provides a foundation for implementing user authentication features in a web application.
Before you begin, make sure you have the following installed:
- Node.js (v14 or higher)
- PostgreSQL
- Docker (optional, for running PostgreSQL in a container)
- Yarn (v1.0 or higher)
-
Clone this repository to your local machine:
git clone git@github.com:sandeshsapkota/auth-app.git cd auth-app
-
Install project dependencies using Yarn:
yarn install
-
Start the PostgreSQL database using Docker (optional):
docker-compose up -d
-
Migrate the Prisma database:
npx prisma migrate deploy --preview-feature
-
Start the development server:
yarn dev
The app should now be accessible at
http://localhost:3000
.
This app uses Docker and Docker Compose to manage services:
- db: PostgreSQL database container
- prisma: Prisma container for database migrations and management
Dev dependencies used for development:
- @types/bcrypt
- @types/jsonwebtoken
App Version: 0.1.0
This project is private and not open source.
Feel free to use this version of the README with "Yarn" as the specified package manager.