This project was build using Vue, PostgreSQL, Express and Node.js
This app is made in order to track the people that are coming to have a meeting or simply to meet with wirelab employees. It displays the process that helps Wirelab to keep track of people that visite their location.
- Install dependencies
npm install- Go to the root folder
node indexor
nodemon index- Go to the client folder
npm run serve- Go to the root folder
npm run dev- client/src: Vue
-
- assets : All static assets and styling files.
-
- store : The ontainer that holds the applications state, actions, mutations, getters etc.
-
- views : Pages that are in the router.
-
- components : Reusable blocks of code that are used in differents parts of the app.
- index.js : Server
- db : sql file that displays the necessary tables and databases for building the db, db.js file that initialises a database connection.
- middleware : The necessary verifying function that help us to verify jwt's recieved from request headers.
- Click '+ New visitor' on Navigation bar.
- Fill the all the required fields on the visitor form.
- Click on submit.
If everything goes well, the new visitor will be added. If not, an alert will pop up on the top of the screen and you will be onformed about what went wrong.
-
Every user must be logged in with their google account in order to see visitors and visitors that are currently in the building or ending their visits.
-
Hmmm.. that's impossible. :)
- Go to the home page.
- You will see the current visitors and an 'End' button next to their information.
- Click on End button.
- Go to the visitors by clicking visitors on navigation bar.
- Find the visitor whom you would to see details of.
- Click on the visitor's name.
- Viola.
- If the same visitor comes one more time, than their visit will be saved to their already existing details. And all of their visits will be accessible from their details page. Briefly, nothing will change.