Skip to content

tmcausla/Practice-with-RESTAPI-and-React-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful Service & React Client

Overview

This project is a full-stack application consisting of a RESTful API built with Node.js and Express, paired with a React frontend client.

The backend exposes structured CRUD endpoints, while the frontend consumes API responses and renders dynamic UI components.

The project demonstrates request handling, route structuring, data validation, and client-server interaction.


Features

Backend

  • RESTful CRUD endpoints
  • Structured route handling
  • JSON request/response format
  • Input validation
  • Error handling middleware

Frontend

  • React component-based UI
  • API integration using fetch/Axios
  • Dynamic state updates based on server responses

Tech Stack

Backend

  • Node.js
  • Express
  • REST API architecture

Frontend

  • React
  • JavaScript
  • HTML/CSS

API Structure

Example endpoint structure:

  • GET /items
  • POST /items
  • PUT /items/:id
  • DELETE /items/:id

Routes are separated from controller logic for maintainability.


Future Improvements

  • Database integration (PostgreSQL or MongoDB)
  • Authentication
  • API documentation (Swagger)

About

I built a simple browser app to give myself practice working in Node.js, Express.js, creating a test suite with Supertest, consuming APIs with a React app, and using Swagger to document the API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors