This project aims to fully digitalise the entry and logging system of IIT(BHU) via use of a digital ID to avoid intruders inside the campus.
- Go to the
serverdirectory. - Add the serviceAccountKey.json file in the backend directory.
- Add the
JWT_KEYin the.envfile. - Run
go installto install the dependencies. - Run
go run main.goto start the server. - The server will start on port 8888.
If you want to run the server with docker, follow the steps below:
- Run
docker build -t digital-entry-server .to build the docker image. - Now, run
docker run -p 8888:8888 digital-entry-serverto start the server.
TODO