Files
2024-09-13 16:20:08 -07:00
..
2022-05-24 23:15:38 -07:00
2022-06-02 14:58:08 -07:00
2022-05-20 02:06:20 -07:00
2024-08-30 19:55:43 -07:00
2024-06-20 23:50:13 -07:00
2024-08-11 00:53:14 -07:00
2024-03-08 14:46:40 -08:00
2024-08-18 15:38:20 -07:00
2024-08-18 15:38:20 -07:00
2022-08-10 16:31:57 -07:00

Schej.it API

API docs (available when the server is running): http://localhost:3002/swagger/index.html

Debug

  • Install mongodb
  • Install air, a package that facilitates live reload for Go apps
    • go install github.com/cosmtrek/air@latest
  • To run the server, simply run air in the root directory of the server

Make a backup of the mongodb database

  • Run mongodump --host="localhost:27017" --db=schej-it to make a backup
  • Run mongorestore --uri mongodb://localhost:27017 ./dump --drop to restore