This guide will help you set up and run the Cloit Full Stack assignment on your local machine.
Ensure you have the following tools installed on your machine:
- Node.js (v14+)
- Yarn
- PostgreSQL
- Create a
.envfile in the root of the project. - Start a PostgreSQL database and obtain the connection string.
- Add the connection string to the
.envfile as an environment variable:DATABASE_URL=your_postgres_connection_string_here
- Clone the repository:
git clone https://github.com/jatinder14/hypire-full-stack-assignment.git
- install corepack, npm and yarn
- Yarn install
- cd packages/prisma
- npx prisma migrate dev
- npx prisma generate
- cd apps/cloit-be
- npm run start:dev
- cd apps/cloit-fe
- npm run dev
The backend API runs on http://localhost:8080 The frontend application runs on http://localhost:3000