Skip to content

Frontend Task: CRUD and Authentication with React.js A simple frontend project that implements Create, Read, Update, and Delete (CRUD) operations along with user authentication using React.js, React-Bootstrap, and Axios.

Notifications You must be signed in to change notification settings

andyhap/CRUD-and-Authentication-with-React.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend - CRUD & Authentication Project

View Backend

This project represents the Frontend part of a simple CRUD and authentication application built with React.js, Bootstrap, and Axios.

🔗 Backend Repository: Click here to view the Backend

Features

  • User Registration & Login (JWT Authentication)
  • Protected Routes using React Router
  • CRUD (Create, Read, Update, Delete) operations with modal
  • Integration with REST API (Backend)

Project Structure

src/
├── api/
│   └── api.js 
├── components/
│   ├── Navbar.js
│   ├── PrivateRoute.js
│   ├── FormModal.js
│   └── Message.js
├── pages/
│   ├── Login.js
│   ├── Register.js
│   ├── Dashboard.js
│   └── NotFound.js
├── App.js
└── index.js

Installation

  1. Clone this repository

    git clone https://github.com/andyhap/CRUD-and-Authentication-with-React.js.git
  2. Install dependencies

    npm install
  3. Start the application

    npm start

Make sure the backend server is running at http://localhost:5000

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so

About

Frontend Task: CRUD and Authentication with React.js A simple frontend project that implements Create, Read, Update, and Delete (CRUD) operations along with user authentication using React.js, React-Bootstrap, and Axios.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published