Skip to content

Backend Portfolio Manager with NestJS, GraphQL and PostgresDB

Notifications You must be signed in to change notification settings

jcalarcon98/nest-backend-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio information Manager

You can use this project to manage you portfolio information 😉 ❤️

| NestJS | GraphQL | Docker | Postgres |

Backend on NestJs with GraphQL (Code First Approach) for manage your personal information, this project allows execute CRUD operations in the next models:

To update each model, you need an account, use signUp() mutation to create one.

After you can create an account, you will receive an email to verify your account, you should verify your email, otherwise you can't perform any operation.

Project most relevant Features:

  • Send emails automatically.
  • Password recovery.
  • Upload Images.
  • JWT Authentication.

You can see this project in production environment in the next URL:

https://jcalarcon.me/portfolio/graphql

Usage

After run this project you should follow the next steps:

  1. Create .env file in the source folder

  2. Add the next credentials to the .env file

    • EMAIL_HOST=smtp.gmail.com
    • EMAIL_PORT=465
    • AUTH_TYPE=OAuth2
    • EMAIL_ACCOUNT=username@gmail.com
    • EMAIL_CLIENT_ID=
    • EMAIL_CLIENT_SECRET=
    • EMAIL_REFRESH_TOKEN=
    • EMAIL_ACCESS_TOKEN=
  3. Generate EMAIL_CLIENT_ID=, EMAIL_CLIENT_SECRET, EMAIL_REFRESH_TOKEN and EMAIL_ACCESS_TOKEN, you can follow the next guide: https://stackoverflow.com/questions/51933601/what-is-the-definitive-way-to-use-gmail-with-oauth-and-nodemailer

After that, you only have to execute:

docker-compose up --build

Author

👤 Jean Carlos Alarcón

Twitter Follow

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Jean Carlos Alarcón.

This project is under MIT licensed.


About

Backend Portfolio Manager with NestJS, GraphQL and PostgresDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages