8000 GitHub - shashankchandak/Dictionary: A simple dictionary app demonstrating CRUD operations developed using backend as spring boot (involving jpa and spring security) and front end in react js
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple dictionary app demonstrating CRUD operations developed using backend as spring boot (involving jpa and spring security) and front end in react js

Notifications You must be signed in to change notification settings

shashankchandak/Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary

A simple dictionary app demonstrating CRUD operations developed using backend as spring boot (involving jpa and spring security) and front end in react js

Steps to successfully run the project

  1. Create a database name worddb by command “create database worddb”
  2. Run the spring boot application (the server will start at port 9999)
  3. Once the server runs the tables will be created in database but we need to populate some entries before we can successfully run server(these steps are necessary)

INSERT INTO roles(name) VALUES('ROLE_USER'); INSERT INTO roles(name) VALUES('ROLE_ADMIN');

  1. Also insert an admin user as only a admin can add words to db , admin can be added by using postman by sending post request as follows as follows

Api url: http://localhost:9999/auth/signup Payload: { "username":"admin", "password":"admin", "email":"admin@admin.com", "role":["admin"] }

  1. After this run the react app using npm start and login via admin user to access all functionalities like add,display,search, update ,delete

About

A simple dictionary app demonstrating CRUD operations developed using backend as spring boot (involving jpa and spring security) and front end in react js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0