Sparrow is your next go to API development buddy which can help you test, debug, distribute better APIs while collaborating with your colleagues and making you a better programmer.
To install this project, you must have the following installed on your machine :
# Clone the repository
git clone https://github.com/sparrowapp-dev/sparrow-api.git
# Move into the project directory
cd sparrow-api
# Install PNPM globally
npm i -g pnpm
# Create and setup environments file
cp .env.example .env
-
To install all services(mongo + kafka + api server) as docker containers, run:
pnpm docker:up
-
To install individual services, run:
pnpm docker:<SERVICE NAME>
pnpm docker:mongo
- Runs only mongo in a docker containerpnpm docker:kafka
- Runs only kafka in a docker containerpnpm docker:api
- Runs only the api server
# Install dependencies
pnpm i
# Run App in development mode
pnpm start:dev
Go to http://localhost:{PORT}/api/docs
Sparrow creates a default user to help you get started quickly and easily.
Login Credentials:
- Email: dev@sparrow.com
- Password: 12345678@
pnpm docker:down
You can checkout Contributing Guidelines
Subscribe to our newsletter by applying here!
Sparrow comes under the GNU AFFERO GENERAL PUBLIC LICENSE. For more information, you can checkout LICENSE