FACG4 / w7-books

https://w7-books.herokuapp.com
0 stars 0 forks source link

books

alt text

What?

Our website that give you ability to reservation books thats is available, but we dont finsh it

How?

First together we worked on the architecture of the code , then we chose the data that we will use it in our website , then we did a special function for use this data.

How to use ?

User can create accont in the website by enter his first name , last name ,password and email then , using his email and password to log in and redirect it into another page that view available books list to the user and he can enter the book name , author of book and the date of deploy to insert it


CREATE DATABASE [db_name];
   CREATE USER [user_name] WITH SUPERUSER PASSWORD ['password'];

Now you can set the test database url in your config.env as follows (setting the values in square brackets to the values you defined in the steps above): TEST_DB_URL = postgres://[user_name]:[password]@localhost:5432/[db_name]

Next open psql/pgcli in terminal and connect to your test database: \c [test_database_name]

Next you will run the db_build.sql file to create the schema and populate your test database with data: \i [full_path_to_db_build.sql]

I'm an inline-style link

Done By : Abdalsamad ,Inass, Haneen,Razan.