Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charles-55/onlinebookstore
A graphics-based online bookstore programmed using the Java programming language and PostgresSQL as the backend database.
https://github.com/charles-55/onlinebookstore
database java postgresql
Last synced: 7 days ago
JSON representation
A graphics-based online bookstore programmed using the Java programming language and PostgresSQL as the backend database.
- Host: GitHub
- URL: https://github.com/charles-55/onlinebookstore
- Owner: charles-55
- Created: 2022-12-01T02:21:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T05:52:50.000Z (about 2 years ago)
- Last Synced: 2023-05-31T19:32:31.553Z (over 1 year ago)
- Topics: database, java, postgresql
- Language: Java
- Homepage:
- Size: 3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OnlineBookstore
A graphics-based online bookstore programmed using the Java programming language and postgresSQL as the backend database.
## Authors
#### Osamudiamen Nwoko
#### Oyindamola Taiwo-Olupeka## Instructions For Setting Up The Database
There are different ways for you to set up the database:### Option 1:
1. Create a database server in port 5433 on your device.
2. Create a user called "postgres" (done automatically by pgAdmin).
3. Set the password to "1234".
4. Add a new database called "COMP3005Project" to the server.### Option 2:
- Create your database using your preferred information (modify the ConnectionManager according to your configuration).## Instructions For Running The Application
There are different ways for you to run the application:### Option 1 (Best):
1. Setup your database connection.
2. Make a pull request from this repository into your favourite version control IDE (e.g. Intellij, Visual Studio Code).
3. Modify the ConnectionManger.java class if you used option 2 to set up the database.
4. Run the code in the Main.java class.### Option 2:
1. Setup your database connection using option 1.
2. Download the JAR file.
3. Open the JAR file location in your terminal.
4. Run the command "java OnlineBookstore.jar".### Option 3:
1. Setup your database connection using option 2.
2. Download the JAR file and extract its contents.
3. Modify the ConnectionManager.java to have your configured database settings.
4. Run the Main.java class.## For TA
- To sign in as an admin, the username is "TA" and the password is "123456".
- NOTE: Only admins can add new admins. There are previously defined admins.