Please follow the given steps to setup the project locally on your machine
- Fork this repository
- Open terminal and run the following command to clone the repository locally
git clone https://github.com/<your-github-usernmae>/clean-catalogue-web.git
- Change the directory to
server
directory and install the dependencies
cd clean-catalogue/server
npm install
- Run the server
npm run dev
The server should be running locally at
http://localhost:3000
- Change directory to
frontend
and install the dependencies in another terminal
cd clean-catalogue/frontend
npm install
-
Set up clerk auth by following this guide
-
Copy
.env.example
to create a file.env
cp .env.example .env
-
Paste your
VITE_CLERK_PUBLISHABLE_KEY
in.env
file -
Run the frontend
npm run dev
The frontend should be running on
http://localhost:5173