Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create account #1

Open
aeblambert opened this issue Apr 19, 2023 · 1 comment
Open

Create account #1

aeblambert opened this issue Apr 19, 2023 · 1 comment
Labels

Comments

@aeblambert
Copy link
Owner

As a busy parent, I want to create an account with a username and password so I can access the book-sharing site.

@aeblambert
Copy link
Owner Author

aeblambert commented Apr 19, 2023

  • 1. Set up a Spring Boot project with the required dependencies (e.g., Spring Web, Spring Security, and Spring Data)
  • 2. Create a simple React app for the frontend
  • 3. Design a basic landing page with a message and a "Create account" button (in React)
  • 4. Create a registration form component (in React) with input fields for email address, password, and password confirmation
  • 5. Implement form validation to ensure user inputs are valid (e.g., valid email format, password complexity, and matching password confirmation)
  • 6. Set up a database to store user information (email addresses and hashed passwords). You can use Spring Data and an embedded database like H2 for development
  • 7. Create a User entity in the backend (Spring Boot) to represent user data
  • 8. Implement a User repository (using Spring Data) to handle database interactions
  • 9. Create an API endpoint in the backend to handle registration requests from the frontend
  • 10. Implement a registration service in the backend to handle user registration logic (e.g., checking for existing emails, hashing passwords, and saving new users)
  • 11. Connect the frontend registration form to the backend API endpoint to send registration requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant