Skip to content

Server side application for noterepo client. Built with nodejs using nestjs framework with fastify adapter

Notifications You must be signed in to change notification settings

NoteRepoLabs/noterepo-backend

Repository files navigation

RepoBanner

Web server for the NoteRepo web client written with NestJS and Typescript.

Developer Notes

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!

Setting Up Your Dev Environment

To get started, git clone the repository and cd into it.

git clone https://github.com/NoteRepoLabs/noterepo-backend.git
cd noterepo-backend

Then install the dependencies using yarn

$ yarn install

Environment Configuration

To run the server, create a .env file in the root of the project using the .env.example file as a template.

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Running Tests

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

API Documentation

This project uses Swagger to document its APIs. Follow the steps below to view the Swagger documentation.

  1. 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
  1. Access Swagger UI: Once the server is running, open your web browser and navigate to:
http://localhost:yourport/api

Replace yourport with the port number your server is running on (e.g., 3000, 8080, etc.).

  1. 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.

Bug Reports

You can report any bugs you find using the issues tab if it's not already present and being fixed.

Additional Information

  • 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

About

Server side application for noterepo client. Built with nodejs using nestjs framework with fastify adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published