Skip to content

s-amiour/rest-api-app-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CRUD Frontend for Render API

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.


Table of Contents


Features

  • 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

Project Structure

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

Usage

  1. 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):

License

ISC

About

πŸ–₯οΈβš™οΈ A front-end continuation of `rest-api-app` repository

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published