Loading repository data…
Loading repository data…
anasrehman / repository
This repository contains the code and resources for the "Build Your Own API" course by Angela Yu. The project demonstrates how to create a RESTful API using Node.js and Express.js, featuring CRUD operations. It also includes a simple frontend built with HTML, CSS, and EJS for dynamic content rendering.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository contains the code and resources for the "Build Your Own API" course by Angela Yu. The project demonstrates how to create a RESTful API using Node.js and Express.js, and includes a frontend built with HTML, CSS, and EJS.
This project is a RESTful API built using Node.js and Express.js. It includes a frontend created with HTML, CSS, and EJS. The API allows users to perform CRUD (Create, Read, Update, Delete) operations on a dataset. The course by Angela Yu provides a comprehensive guide on how to build this API from scratch, covering fundamental concepts and best practices.
To get a local copy up and running, follow these simple steps:
https://github.com/anasrehman/Simple-Blog---CRUD.git
cd Simple-Blog---CRUD
npm install
To run the API locally, use the following command:
node server.js
node index.js
The API will be accessible at http://127.0.0.1:3000.
Here are the available endpoints for the API:
GET /items: Retrieve all itemsGET /items/:id: Retrieve a single item by its IDPOST /items: Create a new itemPUT /items/:id: Update an existing item by its IDDELETE /items/:id: Delete an item by its IDYou can test the API endpoints using Postman:
http://127.0.0.1:3000/items).Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have suggestions for improving this project, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement".
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MIT License. See LICENSE for more information.
Feel free to customize this template to better fit your project. Include any additional sections or information specific to your project as needed.