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
- Host: GitHub
- URL: https://github.com/suryaandh/react-blog
- Owner: suryaandh
- Created: 2023-10-20T01:44:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T13:55:29.000Z (over 2 years ago)
- Last Synced: 2025-02-15T03:47:57.380Z (over 1 year ago)
- Topics: node-js, postgresql, reactjs, redux, sequelize-cli
- Language: JavaScript
- Homepage:
- Size: 722 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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