Code Monkey home page Code Monkey logo

crud_app's Introduction

Crud Application

The CRUD application is a web-based platform that allows users to perform basic CRUD operations (Create, Read, Update, Delete) on posts. The application includes user authentication with login and signup functionality to ensure secure access.

Users can create an account by providing their username, email, and password. The signup process includes validation checks to ensure that the entered data meets the required criteria. Once registered, users can log in using their credentials to access the application.

Once logged in, users have the ability to create new posts by providing a title, content, and any additional information. The created posts are saved and associated with the user's account.

Users can view all the posts available in the application and read their content. They can also edit and update their existing posts, allowing them to modify the post's title, content, or any other relevant information. The changes made to the posts are saved and reflected in the application.

Additionally, users have the option to delete their own posts if they no longer wish to keep them. Upon deletion, the post is permanently removed from the application.

The CRUD application provides a user-friendly interface and a seamless experience for managing posts, allowing users to create, read, update, and delete their own posts efficiently.

API Endpoints

1.POST /api/register- User registration endpoint

2.POST /api/login- User login endpoint

3.POST /api/posts- Create a new post

4.GET /api/posts- Retrieve all posts

5.PATCH /api/posts/:id- Update a post

6.DELETE /api/posts/:id- Delete a post

Getting Started

How to start locally 1.Clone the repository: git clone https://github.com/soniadiwedi/crud_app.git

2.Install the dependencies: npm install

3.Start the frontend development server: npm run start

4.Start the backend development server: npm run server

Login Page

image

SignUP Page

image

Post Page

image

crud_app's People

Contributors

soniadiwedi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.