Skip to content

jordanpapaditsas/jrpg-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

JRPG-Blog Coding Factory Final Project

A full-stack blog application built with the MERN stack (MongoDB, Express.js, React.js, Node.js). The project includes CRUD operations, user authentication,Form validations, Database for storing data, and JSON Web Token (JWT) validations. Created for Coding Factory Final Project.

Table of Contents

Features

  • User registration and login
  • Form validation with notifications
  • MongoDB Database for storing data
  • CRUD operations for blog posts
  • JWT-based authentication
  • Responsive design

Screenshots

image image image image image image image image image image image

Prerequisites

Installation

  1. Clone the repository:
 git clone https://github.com/jordanpapaditsas/jrpg-blog.git
  1. Navigate to the clone project directory:
cd jrpg-blog
  1. Install Node.js and yarn (donwload and install from https://nodejs.org/en)

  2. Install Project Dependencies

- yarn install
- yarn add nodemon
- yarn add cors
- yarn add mongoose
- yarn add bcryptjs
- yarn add jsonwebtoken
- yarn add cookie-parser
- yarn add dotenv
  1. Build the project
- Open 2 terminals 
- cd client in first terminal
- yarn start (starts the project)
- cd api in second terminal
- nodemon index.js (to run backend api for data)

API Endpoints

  • /post/:id (GET, POST, PUT, DELETE): CRUD operations for blog posts.
  • /edit/:id (PUT) operation.
  • /register (POST): Register a new user.
  • /login (POST): Authenticate and log in a user.
  • /logout (POST): Logs out the current user.
  • /create (POST): Create a post.

About

A jrpg-blog project, showcasing MERN Stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors