Server for Studtor_frontend
Configure the config file:
- Please change the server email and password accordingly
- Set expiration time in hours
port: ":3000"
jwtKey: "9761278367815487"
accessExpirationTime: "1"
refreshExpirationTime: "2"
serverEmail: "studtorr@gmail.com"
serverEmailPW: "password"
mock_database: "true"
Go to terminal and cd into \Studtor_backend\cmd
go run main.go
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.