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
server
directory. - Add the serviceAccountKey.json file in the backend directory.
- Add the
JWT_KEY
in the.env
file. - Run
go install
to install the dependencies. - Run
go run main.go
to 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-server
to start the server.
TODO