Simple user login and registration app leveraging i18next and react-i18next that allows multi-lingual web app.
All the backend code is in the JWTAuth directory. Run all backend commands from inside that directory.
Create database using this sql file.
Configure .yml to connect to the database:
spring:
datasource:
url: jdbc:postgresql://localhost:5432/registration
username: ""
password: ""
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: create-drop
show-sql: false
properties:
hibernate:
format_sql: true
database: postgresql
database-platform: org.hibernate.dialect.PostgreSQLDialect
All the frontend react code is in the Frontend directory. Run all frontend commands from inside that directory.
Create a new .env file in the front-end directory and add the following lines:
VITE_SERVER=http://localhost:8080
npm i
npm run dev
- React
- TypeScript
- CSS
- Material UI
- Java
- Spring Boot
- Spring Security
- JWT
- Database: PostgreSQL
- Driver: Node-progres (pg)
- React i18next