supertigim / cognito_django_nextjs

This project shows how to integrate AWS Cognito into a NextJS and Django (DRF) project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This project shows how to integrate AWS Cognito (Hosted UI) into a NextJS and Django (DRF) project.

How to run

Port 3005 for frontend and 8000 for backend are used. Therefore, other services that use these ports should be stopped before running the project.

To run the project, run the following command:

$ docker-compose up --build 

# To enter the backend container
$ docker-compose exec backend bash

# To enter the frontend container
$ docker-compose exec frontend sh

Admin page

Default username and password for admin page is admin and admin.

How to use

References

About

This project shows how to integrate AWS Cognito into a NextJS and Django (DRF) project.

License:MIT License


Languages

Language:Python 82.3%Language:TypeScript 13.9%Language:Dockerfile 3.0%Language:JavaScript 0.5%Language:Shell 0.3%Language:CSS 0.1%