- Install Node.js v22.
- Clone this repository and navigate to the
auth-service
directory:cd ./auth-service
- Install the dependencies:
npm i
- Start the server:
npm run start
- The server will start on
http://localhost:8000/
Ensure you set up the following environment variables in a .env
file:
ACCESS_TOKEN_SECRET=your-secret-key
REFRESH_TOKEN_SECRET=your-refresh-secret-key
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret