Fullstack blog app!
- User authentication, register, login, logout
- Make posts, edit and delete
- Follow / unfollow
-
Redis as the primary database
- Node-Redis
- Store users using hashes
- Store posts using RedisJSON
-
JSON Web Token authentication
- Access & refresh tokens
- Jsonwebtoken
-
React frontend
- Install Docker
You'll only need to run these commands once:
-
Run the RedisJSON Docker image:
docker run -p 6379:6379 --name redis-redisjson redislabs/rejson:latest
-
Create search indices - in the project directory, run
node create-redis-indices.js
In the project directory, run npm start
In the client
directory, run npm run start
Open http://localhost:3000 to view the app in your browser.