CanUMeetMe (canumeet.me)
Online collaborative tool that facilitates meeting scheduling, built using Node.js, NestJS, Prisma, PostgreSQL, and Next.js.
- Node.js
- npm
- PostgreSQL
-
Navigate to the
serverdirectory:cd server -
Initialize the npm project:
npm install
-
Set up your
.envfile inside the root directory:DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE"
-
Generate the Prisma client:
npx prisma generate
-
Run the migration:
npx prisma migrate dev
-
Run the seed command:
npx prisma db seed
-
Navigate to the
clientdirectory:cd client -
Initialize the npm project:
npm install
-
Set up your
.envfile inside theclientdirectory:NEXT_PUBLIC_API_URL="http://localhost:3000/api"
To run the server, use the following command:
cd server
npm run devTo see the API documentation and test the endpoints using Swagger UI, navigate to http://localhost:3000/api in your browser.
To run the client, use the following command:
cd client
npm run dev