This is a vanilla JavaScript frontend for interacting with a REST API hosted at https://rest-api-app-g8r1.onrender.com.
The frontend supports CRUD operations for 5 models and uses Bootstrap 5.3.8 for styling.
- Features
- Project Structure
- Usage
- [Licence][#licence]
- List all records for each model (Read)
- Create new records (Create)
- Update existing records (Update)
- Delete records (Delete)
- Modular JS using ES modules
- Responsive UI using Bootstrap 5.3.8
frontend/
ββ index.html # Main HTML page
ββ js/
β ββ main.js # Entry point
β ββ book.js # CRUD operations for book
β ββ movie.js
β ββ song.js
β ββ user.js
β ββ video-game.js
ββ helper/
β ββ helpers.js # Utility functions
ββ css/
β ββ styles.css # Optional custom styles
ββ README.md # Project documentation- Clone the repository
git clone https://github.com/your-username/rest-api-app.git
cd rest-api-app=> Open index.html in a browser using a local server (required for ES modules):