Skip to content

four-man-army/nextjs_password_safe

Repository files navigation

Next Password Safe

A secure safe for your passwords

Made with

Description

Our application, to make a password safe with best practices.

Testing

View all test reports here

Deployments

  1. Main production deployment
  2. Beta preview deployment


Or just follow the instructions below to run your preferred branch.

Getting Started

Executing program

  1. npm install
  2. npm run dev

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Documentation

Directory structure

├── src
│   │   # Next.js routes
│   ├── app
│   │   │   # api routes
│   │   ├── api
│   │   # React component files
│   ├── components
│   │   │   # shadcn ui components
│   │   ├── ui
│   │   # React context files
│   ├── context
│   │   # helper functions
│   ├── helpers
│   │   # lib files
│   ├── lib
│   │   │   # zod validators
│   │   ├── validators
│   │   # playwrigth tests
│   ├── tests
│   │   # typescript types
│   ├── types

Database

We use MySQL as our database.

Authentication

We use NextAuth.js for authentication.

Testing

We use Playwright for end-to-end testing, and we use Vitest for unit testing.

Reflexion

What went well

  • We managed to get a working product in time
  • We managed to get a working product with all the features we wanted
  • We managed to get a working product with a good design
  • We managed to get a working product with a good user experience
  • We managed to get a working product with a good user interface

What went wrong

  • We had some issues with the database, but we managed to fix it
  • We had some issues with the authentication, but we managed to fix it
  • We had some issues with the testing, but we managed to fix it
  • We had some issues with the deployment, but we managed to fix it

What we learned

  • We learned how to use Next.js
  • We learned how to use NextAuth.js
  • We learned how to use MongoDB
  • We learned how to use Redis