Web server for the NoteRepo web client written with NestJS and Typescript.
We're actively looking for contributors as we're only two engineers working on it at the moment. So if you know NestJS and optionally Typescript, feel free to submit pull requests, they're always welcome!
To get started, git clone the repository and cd into it.
git clone https://github.com/NoteRepoLabs/noterepo-backend.git
cd noterepo-backendThen install the dependencies using yarn
$ yarn installTo run the server, create a .env file in the root of the project using the .env.example file as a template.
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:covThis project uses Swagger to document its APIs. Follow the steps below to view the Swagger documentation.
- Start the Server: Make sure your server is running. You can do this by using the following command:
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod- Access Swagger UI: Once the server is running, open your web browser and navigate to:
http://localhost:yourport/apiReplace yourport with the port number your server is running on (e.g., 3000, 8080, etc.).
- Explore the API Endpoints: You should see the Swagger UI with all available API endpoints. You can use this interface to explore and test the APIs.
You can report any bugs you find using the issues tab if it's not already present and being fixed.
- The project uses a PostgreSQL database with Prisma ORM.
- It incorporates a search engine with MeiliSearch.
- Redis is utilized for rate limiting.
- Cloudinary is used for storage.
- Mailgun is used to send emails.
- Swagger for api documention