A simple Stop-Go-Continue App that allow you to Explain your opinion and share your thoughts about the activates that done during the week .
-
Day 1:
- Discuss our website purpose and architecture.
- Creating our server,handler's,router's and starting to create our functions.
- Creating our DB.
-
Day 2:
- Completing our functions,handler's and router's.
- Testing.
- Deploying on Heroku and traves.
-
Day 3:
- Discuss the new features that we want to add to our website.
- Create the login and sign-up pages.
- Client-side validation.
-
Day 4:
- implement a cookie-based session on login.
- add the comment feature.
- crypt the password in the database.
The site contains 2 folders:
-
public folder: the frond end part contains two sub-folders :css: contains the img folder and style.css file, and js folder contains the (dom.js and logic.js).and contains the (index.html).
-
src folder: The back end part contains the database folder that contains querjs folder >> (getdata.js , check.js, checksignup.js, signup.js and postdata.js) files and test folder that contains dbtest file and the src folder also contains(handler.js,hash.js, server.js.and router.js)
-
User Side :
- Open url for the website .
- login with your email and password or signup with your details.
- Insert the post that you want to insert and set the another details .
- Select the post button to send the data to the DB.
- And then you can see your post and the other post's bellow .
- logout.
-
Developer Side:
git clone "[email protected]:FACG4/w6_Stop_Go_Cont.git"
Run
npm install
to install all dependencies` -
Database:
-
Create a
config.env
file in the root of the project -
Add the
DB_URL
variable ,TEST_URL
variable
Navigate to http://localhost:5000/ in your browser