- Backend server for Shukekicks web app. Shukekicks is a web app for a business that sells shoes.
- Authentication
- E-commerce
- Mpesa stk push payments
- Typescript
- MongoDB
- Daraja API
- Node.js installed on your system
- MongoDB database connection
- Clone the repository
git clone https://github.com/munene-m/shukekicks-server.git
- Install the dependencies
npm install
- 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).
- Start the server
npm run start
-
Access the API endpoints using the specified routes and methods.
-
Use a tool like Insomnia or Postman to test the API endpoints.