Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 876 Bytes

File metadata and controls

27 lines (21 loc) · 876 Bytes

C-Store

CS3043 Project: Single Vendor E-commerce platform

Instructions for testing the Server:

  1. Download & setup Postgres.

  2. Using superuser privileges, create a new database & a new user. Eg:

DROP DATABASE IF EXISTS cstore;
DROP USER IF EXISTS cadmin;
          
CREATE DATABASE cstore;
CREATE USER cadmin PASSWORD 'cstore_GRP28_CSE21';
           
GRANT ALL PRIVILEGES ON DATABASE cstore TO cadmin;
  1. Now proceed to C Store/Backend/backend/src/main/resources/application.yml & update the following.
spring.datasource.username: cadmin
spring.datasource.password: cstore_GRP28_CSE21
token.secret.key: e375e33b550272473c33aeca01c189141a64431c1d7495204cfa91d7bf4d8e59
  1. Run the schema.sql & data.sql files.
  2. Start the application & visit the Swagger UI page.