The API is automatically deployed to Google Cloud Run using GitHub Actions and Docker Hub.
If running the container locally, use:
docker build -t habit .
To build the image
docker run --env-file .env -p 8080:8080 habit
To run the container
You should see:
austin$ docker run --env-file .env -p 8080:8080 habit
✅ Server is running on port 8080
DB Connected
Now, you should be able to test the endpoints:
http://localhost:8080/api/auth/signup
http://localhost:8080/api/auth/signin
http://localhost:8080/api/auth/signout
Project Documents