The Project Archive API is a RESTful API built using Node.js, Express, and MongoDB that allows you to retrieve project information for archival purposes.
- Retrieve project information using various filters.
-
Clone the repository:
git clone https://github.com/Saneeitas/E-ProjectArchiveAPI.git)https://github.com/Saneeitas/E-ProjectArchiveAPI.git
cd project-archive-api
npm installCreate a .env file in the root directory and add the following variables:
PORT=[port_number] MONGODB_URI=[mongodb_connection_uri]
npm startOnce the server is up and running, you can use tools like curl, Postman, or any other API testing tool to interact with the API endpoints.
- GET /projects: Get a list of all projects.
- GET /projects/:id: Get details of a specific project by ID.
Contributions are welcome! If you find any issues or would like to add enhancements to the project, feel free to open a pull request.
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your fork.
- Open a pull request.