An open API service indexing awesome lists of open source software.

https://github.com/suryaandh/react-blog


https://github.com/suryaandh/react-blog

node-js postgresql reactjs redux sequelize-cli

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# react-blog

## Overview
A simple web blog application built with React and Redux for the front end, and Node.js with Express, Sequelize, and PostgreSQL for the back end.

## Features
- User authentication (Login & Register)
- Blog post creation and management
- User-specific posts retrieval

## Tech Stack
### Front End
- React
- Redux

### Back End
- Node.js
- Express
- Sequelize
- PostgreSQL

## API Routes

### Authentication Routes (`/users`)
- `GET /` - Get user details
- `POST /login` - User login
- `POST /register` - User registration (with password hashing)

### Post Routes (`/posts`)
- `GET /` - Retrieve all posts
- `POST /create` - Create a new post
- `GET /:id` - Get a post by its ID
- `GET /:id/user` - Get posts by a specific user ID
- `PUT /:id/status` - Update post status