Skip to content

Commit 8ef534d

Browse files
authored
Revert "ft: Generate API Documentation (#146)" (#159)
* Revert "ft: Generate API Documentation (#146)" This reverts commit fa2bf88. * updated .env.example
1 parent 2223abf commit 8ef534d

17 files changed

+35
-808
lines changed

Diff for: .env.example

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ API_KEY=<api-key-provided-from-sendgrid>
88
SENDER_NAME=<Sender name of sendgrid>
99
API_KEYS=<api-key-provided-from-google-sheet-api>
1010
FRONTEND_URL=<Frontend-url-at-which-the-frontend-app-is-running-on>
11-
SUPER_ADMIN_EMAIL=<super-admin-email>
12-
JWT_SECRET=<jwt-secret>
13-
ADMIN_EMAIL=<admin-email>
11+
PUSHER_APP_ID=<pusher-app-id>
12+
PUSHER_KEY=<pusher-key>
13+
PUSHER_SECRET=<pusher-secret>
14+
PUSHER_CLUSTER=<pusher-cluster>
15+
Gnews_Api_Key=<gnews-api>

Diff for: README.md

+24-98
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,40 @@
1-
2-
# DevPulse Backend
1+
# atlp-devpulse-bn
32

43
## Introduction
54

6-
DevPulse is an innovative platform designed to handle ratings for companies in the **Ed-tech** industry, with its first paying customer being **Andela**. It is currently under development using modern web technologies that prioritize speed and security. This repository contains the codebase for the backend part of the platform, which utilizes **GraphQL, Apollo, and MongoDB**.
7-
8-
## Table of Contents
9-
10-
- [Hosted Link](#hosted-link)
11-
- [Features](#features)
12-
- [Technologies](#technologies)
13-
- [Getting Started](#getting-started)
14-
- [Prerequisites](#prerequisites)
15-
- [Installation](#installation)
16-
- [Usage](#usage)
17-
- [API Documentation](#api-documentation)
18-
- [Contributing](#contributing)
19-
- [Contact](#contact)
5+
Pulse is a platform designed to handle ratings for the companies in the **Ed-tech** industries with the its first paying customer being **Andela**. It is currently under development using modern web technologies that prioritize speed and security. This repo holds the codebase for the backend part of the platform which uses **Graphql, Apollo and mongoDB**.
206

217
## Hosted Link
228

23-
The backend is currently hosted at: [https://atlp-devpulse-bn.onrender.com/](https://atlp-devpulse-bn.onrender.com/)
24-
25-
## Features
26-
27-
- Real-time performance metrics tracking
28-
- Advanced attendance management
29-
- Dynamic application cycle overview
30-
- Secure authentication and authorization
31-
- Scalable GraphQL API
32-
33-
## Technologies
34-
35-
To successfully navigate and contribute to the codebase, you should have an understanding of the following technologies:
36-
37-
- [GraphQL](https://graphql.org/): A query language for APIs
38-
- [TypeScript](https://www.typescriptlang.org/): A typed superset of JavaScript
39-
- [Apollo Server](https://www.apollographql.com/docs/apollo-server/): A GraphQL server
40-
- [MongoDB](https://www.mongodb.com/): A NoSQL database
41-
- [Node.js](https://nodejs.org/): A JavaScript runtime
42-
- [Express](https://expressjs.com/): A web application framework for Node.js
43-
44-
## Getting Started
45-
46-
### Prerequisites
47-
48-
Before running this project, make sure you have the following installed:
9+
https://andela-devpulse-backend.devpulse.co/
4910

50-
- [Node.js](https://nodejs.org/) (version 14 or later)
51-
- [Git](https://git-scm.com/)
52-
- [MongoDB](https://www.mongodb.com/try/download/community) (local installation or a cloud-hosted instance)
11+
## How to run
5312

54-
### Installation
13+
To run this project on your local machine make sure that all the following are checked
5514

56-
1. Clone the repository:
57-
```bash
58-
git clone https://github.com/atlp-rwanda/atlp-devpulse-bn.git
59-
```
15+
- [ ] Nodejs installed on your computer ([MacOS](https://nodejs.org/en/download/), [Windows](https://nodejs.org/en/download/), [Linux](https://nodejs.org/en/download/))
16+
- [ ] Git installed on your computer
6017

61-
2. Navigate to the project directory:
62-
```bash
63-
cd atlp-devpulse-bn
64-
```
18+
Use the following commands to get started with the project
6519

66-
3. Install dependencies:
67-
```bash
68-
npm install
69-
```
20+
```js
21+
git clone https://github.com/atlp-rwanda/atlp-devpulse-bn.git
22+
cd atlp-devpulse-bn
23+
npm install
24+
npm run dev
7025

71-
4. Set up environment variables:
72-
- Copy the `.env.example` file to `.env`
73-
- Fill in the required environment variables
7426

75-
5. Start the development server:
76-
```bash
77-
npm run dev
78-
```
27+
### Other scripts and their usages
28+
- `npm run build` is used to build the production ready version of the projects.
29+
Used during deployment
7930

80-
## Usage
81-
82-
### Available Scripts
83-
84-
- `npm run dev`: Starts the development server using nodemon
85-
- `npm start`: Starts the production server
86-
- `npm test`: Runs the test suite using Jest
87-
- `npm run build`: Builds the production-ready version of the project using TypeScript compiler
88-
- `npm run seed`: Runs the database seeding script
89-
90-
## API Documentation
91-
92-
For detailed information about the API endpoints and how to use them, please refer to our [API Documentation](https://atlp-devpulse-bn.onrender.com/graphql).
93-
94-
## Contributing
95-
96-
We welcome contributions to the DevPulse project! Please follow these steps to contribute:
97-
98-
1. Fork the repository
99-
2. Create a new branch (`git checkout -b feature/AmazingFeature`)
100-
3. Make your changes
101-
4. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
102-
5. Push to the branch (`git push origin feature/AmazingFeature`)
103-
6. Open a Pull Request
104-
105-
Please make sure to update tests as appropriate and adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
106-
107-
108-
## Contact
31+
## Technologies
10932

110-
DevPulse Team - [[email protected]](mailto:[email protected])
33+
To successfully navigate the codebase of the project, you will need undertanding
34+
of the following technologies that are being used to develop this application:
11135

112-
Project Links:
113-
- [https://github.com/atlp-rwanda/atlp-devpulse-bn](https://github.com/atlp-rwanda/atlp-devpulse-bn)
114-
- https://atlp-devpulse-bn.onrender.com/
36+
- GraphQl
37+
- Typescript
38+
- Apollo server
39+
- MongoDB
40+
```

Diff for: package.json

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"@graphql-tools/merge": "^8.3.7",
4040
"@sendgrid/mail": "^8.1.3",
4141
"apollo-server": "^3.10.2",
42-
"apollo-server-express": "^3.13.0",
4342
"axios": "^1.7.7",
4443
"bcrypt": "^5.1.1",
4544
"bcryptjs": "^2.4.3",

Diff for: public/assets/apple-touch-icon.png

-6.17 KB
Binary file not shown.

Diff for: public/assets/devpulse.svg

-5
This file was deleted.

Diff for: public/assets/favicon-96x96.png

-3.08 KB
Binary file not shown.

Diff for: public/assets/favicon.ico

-14.7 KB
Binary file not shown.

Diff for: public/assets/favicon.svg

-7
This file was deleted.

Diff for: public/assets/site.webmanifest

-21
This file was deleted.

Diff for: public/assets/web-app-manifest-192x192.png

-6.83 KB
Binary file not shown.

Diff for: public/assets/web-app-manifest-512x512.png

-24.8 KB
Binary file not shown.

Diff for: public/css/doc.css

-190
This file was deleted.

0 commit comments

Comments
 (0)