Each platform with microservice architecture has a web backend component. It just like a glue and tries to put everything together in a simple fashion. I1820 backend, it provides a single interface to all services. It adds user management and authorization into the platform. And at the end it hosts our web application that is written in Angular with ❤️ and memory of someone who is not among us.
Users must have an unique username in I1820 platform. Backend heavily uses JWT tokens for each of its works.
- Create project
To build this module from source do the following steps
-
Make sure MongoDB is up and running.
-
Install the required dependencies (Please note that we use dep as our go package manager)
dep ensure
-
Check the configuration in
.env
file. (You can use.env.example
as an example configuration). -
Run 🏃
go build
./backend
- Create MongoDB indexes
buffalo task mongo