/sherpa

Primary LanguageJavaScript

Sherpa

Important ⚠️

After opening the project, install all needed dependencies (IDE should do it by itself*).

*If not, run the following command:

dotnet restore

After that, go to SherpaBackend, Properties folder and create a launchSettings.json based on launchSettings.json.sample.

Credentials

Obtain AWS credentials and MongoDB Atlas connection string in Bitwarden.

  • AWS: Bitwarden
  • MongoDB connection string: Bitwarden or local MongoDB

Requirements 🗻

  • .NET 6.0

  • Docker

  • Node.js LTS

    • Used for running the TailwindCSS compiler.

To run 🚀

Execute the project

cd SherpaBackend && dotnet run

or in watch mode

cd SherpaBackend && dotnet watch

Working with local database

You can use the following command:

docker run --name mongo -p 27017:27017 -d mongodb/mongodb-community-server:latest

For this DB, the connection string would be: mongodb://localhost:27017/

To test 🧪

Run the following command:

dotnet test

Note

While executing the SherpaBackend tests some docker containers will open and close. This is normal, check (https://dotnet.testcontainers.org/) for more info.