Skip to content

Technologies: Node, Express, MongoDB, Apollo GraphQL, Redis, Next.js, React, Material-UI, TypeScript, Docker.

Notifications You must be signed in to change notification settings

Arthur199212/nextjs-posts-app

Repository files navigation

nextjs-app

MVP

  • Can register
  • Can login
  • Can logout
  • Can view/create/update/delete posts
  • Can bookmark posts
# Register
curl -v -X POST localhost:4000/register -H "Content-Type:application/json" -d "{\"name\":\"Arthur\",\"email\":\"[email protected]\",\"password\":\"Secret12\",\"passwordConfirmation\":\"Secret12\"}"

# Login
curl -v -X POST localhost:4000/login -H "Content-Type:application/json" -d "{\"email\":\"[email protected]\",\"password\":\"Secret12\"}"

# Logout
curl -v -X POST localhost:4000/logout --cookie "sid=s%3A8vDQNisgzetBC_GGcGjg5TG0mhFHw3XF.esGhOENn%2FjQCiaoIhxKEJHuhbFBAjdZEApsoZvrfh2s"
docker exec -it nextjs-app_db_1 mongo -u admin -p secret auth

Technologies

Back-End

  • Node + Express
  • GraphQL + Apollo Server
  • express-session + Redis
  • MongoDB + Mongoose

Front-End

  • Next.js + React 16.8+
  • Redux
  • TypeScript
  • Apollo Client
  • Material-UI

DevOps

  • Docker

Screenshots

Blog

main_page_1 main_page_2

Pagination

main_page_3

Form validation

register_page_1 register_page_2

Notification

notification_1

Post page

post_page_1

Responsive

responsive_1 responsive_2 responsive_3

About

Technologies: Node, Express, MongoDB, Apollo GraphQL, Redis, Next.js, React, Material-UI, TypeScript, Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages