An open API service indexing awesome lists of open source software.

https://github.com/munene-m/shulekicks-server

Backend server for shulekicks web app
https://github.com/munene-m/shulekicks-server

daraja-api mongodb typescript

Last synced: about 1 month ago
JSON representation

Backend server for shulekicks web app

Awesome Lists containing this project

README

          

## Shukekicks server

- Backend server for Shukekicks web app. Shukekicks is a web app for a business that sells shoes.

### Features

- Authentication
- E-commerce
- Mpesa stk push payments

### Technologies used

- Typescript
- MongoDB
- Daraja API

### Prerequisites

- Node.js installed on your system
- MongoDB database connection

### Installation

1. Clone the repository

```
git clone https://github.com/munene-m/shukekicks-server.git

```

2. Install the dependencies

```
npm install
```

3. Set up environment variables

- Create a `.env` file in the root directory.
- Define the required environment variables in the .env file (e.g., database connection URL, JWT secret, cloudinary API credentials).

### Usage

1. Start the server

```
npm run start
```

2. Access the API endpoints using the specified routes and methods.

3. Use a tool like Insomnia or Postman to test the API endpoints.