Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rakibul58/infinite-courses-server
https://github.com/rakibul58/infinite-courses-server
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rakibul58/infinite-courses-server
- Owner: rakibul58
- Created: 2022-11-29T12:49:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T04:53:53.000Z (about 1 month ago)
- Last Synced: 2024-11-26T05:26:58.997Z (about 1 month ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infinite Courses
[Live Link](https://infinite-courses-server.vercel.app/)
## Overview
This is the backend server for the Infinite Courses application, built with Express.js.## Prerequisites
- Node.js (v14 or later)
- npm## Installation
1. Clone the repository
```bash
git clone https://github.com/rakibul58/infinite-courses-server.git
cd infinite-courses-server
```2. Install dependencies
```bash
npm install
```## Running the Server
### Development Mode
```bash
npm start
```## API Endpoints
- `GET /`: Basic server health check
- `GET /courses`: Retrieve all courses
- `GET /course/:id`: Retrieve a specific course by ID## Dependencies
- Express.js
- CORS## Configuration
- Default Port: 5000 (can be configured via environment variable PORT)## Project Structure
- `index.js`: Main server file
- `data/courses.json`: Course data file## Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## License
This project is open source. Please check the LICENSE file for details.