Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

AssistU Logo AssistU AssistU Logo

On-Demand Household and Personal Services Booking System

Live Site:

Overview โ€ข Project Status โ€ข Features โ€ข How to Use โ€ข Technologies Used โ€ข Design Mockups โ€ข Authors โ€ข Contributions โ€ข Links โ€ข License โ€ข Acknowledgments


An on-demand household and personal services booking system developed during Chingu Voyage 10. Chingu is a global collaboration platform that connects motivated learners who have shared goals to learn, help, and build together. Chingu is a Korean word meaning โ€˜friend.โ€™ As a Chingu, you are a part of a friendly and supportive community of coders, one that has a shared goal of acquiring and refining their skills.

Chingu is a flexible & remote learning program for developers and aspiring developers who want to complete projects and gain experience. Providing deadlines, collaboration experiences, and accountability tools, in a friendly community with shared goals.

๐Ÿ’ช Challenge

Typically a six (6) week adventure, Chingu Voyage 10 Team #14's repository was created on July 17, 2019, fourteen (14) days after most Chingu counterparts repositories created on July 3, 2019. The goal is to meet the Minimal Viable Product (MVP) completed requirements within approximately twenty-five (25) days after repository creation, on August 14, 2019.

๐Ÿ“† Modified Schedule

Team #14's Schedule

๐Ÿ’ญ Motivation

AssistU's approach to solving everyday real-life problems

To create a booking platform that facilitates a community. A place where Clients can improve the overall quality of their lives by finding and utilizing highly trained Fixers to accomplish the unwanted tasks in their lives. An environment of transparency where Fixers and Clients can communicate their service needs and expectations. All while creating a new stream of employment and opportunities for Fixers within their communities.

There are many services that the busy working members of the family frequently require, but do not have sufficient time and or the skill set to complete. Most of the time, it can be a problematic and tedious process to find and hire routine workers. AssistU solves these problems of the modern households and families by providing the services of skilled and experienced Fixers on a common platform, ensuring the best quality work at the tips of your fingers.

Experience the convenience of delegating the inconvenient and time-consuming tasks in one's life to a responsible Fixer with AssistU. Clients can improve the quality of their life while gaining time back for what matters most in one's life. Fixers gain the ability to connect one-on-one with their Clients on a single, convenient, and easy to use platform.

Technical Motivation

To embrace the opportunity to learn in a collaborative, fully distributed team environment while also motivated to gain experience using popular JavaScript libraries and tools to build a real project that solves real-life problems. A full-stack application that manages and utilizes significant amounts of data in a NoSQL database management environment.

๐Ÿ’ป Tech Stack

โณ Project Status


  • AssistU v1.0.0-alpha released on August 14, 2019.
  • AssistU v1.1.0-alpha is in development and pending release.

Coming Soon

  • Admin Dashboard
  • Fixer Profiles

๐Ÿ’Ž Features

User Authentication


  • New users can register by filling the registration form.
  • Already registered users can login to their account by using their registered email address and set password.
  • User gets an error message when the provided email address is already associated with a registered user upon submitting registration form.
  • Registered users who provide incorrect username login details upon submitting login form receive "Please enter a registered email" error message.
  • Registered users who provide incorrect password login details upon submitting login form receive "Please enter the correct password" error message.
  • Upon selecting the Confirm Fixer Request button, if the user is not logged in the user is redirected to the login page to log in before continuing. After a successful login, the user is then redirected to the payment portion of the booking process, without any loss of the provided data entered in the Booking Form.


  • User password is stored in most secure method possible, in the form of Hashes with Salts
  • Sessions are created as users log in, and session remains active until the user logs out or clears the browser cookies.
  • The User Authentication and Hashing with Salting feature is implemented with the help of PassportJS
  • Utilizing PassportJS to authenticate a session a registered user's password is verified and accessed through the variable that passport returns. If the user is not able to log in, a 'Please enter the correct password' error message is returned. When a registered user provides the correct username and password, a successful session is created.
passport.authenticate('local', function(err, user, info) {
  if (err) {
  if (!user) {
    if ( === 'IncorrectPasswordError') {
      loginError = 'Please enter the correct password.'
  } else if ( === 'IncorrectUsernameError') {
      loginError = 'Please enter a registered email address.'
  } else {
    loginError = 'Please enter valid credentials'
  req.login(user, function(err) {
    if (err) {
    } else {
      return res.redirect('/loginSuccess')
})(req, res)
  • Multiple authentication routes created depending on the page in which authentication is initiated. When authentication begins from any other route except the booking route, the user is redirected, and the Login Successful view is rendered. However, when successful authentication is initiated from the booking route, the user is redirected, and the payment confirmation view is rendered.

User-Friendly Fixer Booking Procedure


  • User selects the Service Type and determines their most suitable Fixer form the list of Fixers stored within the Fixers collection.

  • When the user selects a Fixer, a POST request with the Fixer's details are sent to the AssistU Database. In response, an alert is presented for the user to confirm Fixer selection.

    Select a Fixer Alert
  • If the user attempts to select the 'Confirm Fixer Request' button without selecting a Fixer from the list, the user is alerted with a 'Please choose a Fixer for your service needs from the list' error.

    No Fixer Selected Alert
  • The user provides the Service details into the Fixer Booking Form. Form validation is utilized to ensure the Service Order date, location address, start and stop times, which are required is provided by the user. Additionally, the user can provide any Fixer expectations with any information regarding anything they may provide.

  • Afterwards registered users are redirected to confirm payment method and upon confirmation are subsequently redirected to the order confirmation view.


  • The user-selected Fixer details from the Fixers' Collection is added as a subDocument within the Order document upon selecting the Fixer of their choice. In an authenticated session, Client details are also saved, at this time, and added as a subdocument in the Order document.
  • Upon selecting the 'Confirm Fixer Request' button, a Post request is sent with all user-provided data in the Booking Form from the frontend to the sever and is saved in the Orders' Collection within the AssistU Database.
  • In a non-authenticated session, Client details are added as a subdocument, but only after a successful log is the user redirected back to the Booking view to select the 'Confirm Fixer Request' button.
  • To authenticate a session a request.isAuthenticated() Passport JS function is used to confirm the registered user's information and if successful the user is redirected to the Login Successful view and if not the user is redirected to the Login view.
app.get('/loginSuccess', function(req, res) {
  if (req.isAuthenticated()) {
    Client.findOne({ username: clientDisplayName }, function(err, foundClient) {
      res.render('loginSuccess', {
        clientDisplayName: 'Hi ' + foundClient.clientFirstName + '!'
  } else {

Database Management

  • MongoDB utilized for database management with NPM package Mongoose for object modelling.
  • The MVP release database contains a Fixers' collection that is populated with generated dummy data by Mockaroo to create Fixer data aligned with the Fixer Schema. In future releases, the Fixer collection will be populated with data generated by users registering as Fixers with the information provided within their registration form and Fixer profiles.

Data Manipulation

  • Any user can contact developers by filling out the Contact Form on the landing page. All user-provided data in the Contact Form is sent via a Post request from the frontend to the sever and is saved in the Contacts' Collection within the AssistU Database.'/contact', function(req, res) {
  const contactData = new Contact({
    contactEmail: req.body.contactEmail,
    contactSubject: req.body.contactSubject,
    contactMessage: req.body.contactMessage
  }) {
    if (err) {
    } else {
      formCheck = true
  • Authenticated personalized user greeting with the Client's first name rendered at the top right position of the user's screen. The users' first name is fetched from the database and concatenated with 'Hi' preceding the username followed by '!'.
app.get('/', function(req, res) {
  Client.findOne({ username: clientDisplayName }, function(err, foundClient) {
    if (formCheck) {
      formCheck = false
        if (foundClient) {
          res.render('thanks', {
            navCheck: navCheck,
            clientDisplayName: 'Hi ' + foundClient.clientFirstName + '!'
        } else {
          res.render('thanks', {
            navCheck: navCheck,
            clientDisplayName: ' '
      } else {
        if (foundClient) {
          res.render('home', {
            navCheck: navCheck,
            clientDisplayName: 'Hi ' + foundClient.clientFirstName + '!'
        } else {
            res.render('home', {
              navCheck: navCheck,
              clientDisplayName: ' '
  • The Booking view is rendered by the user-selected Service Type at which time the Fixers' collection is queried from the database. The Fixer data is fetched from the DataBase, and details from Fixers' collection are displayed.
  • To create the Order History view a database query is conducted within the Orders' Collection for every Order document containing the authenticated Client email address within the Client subDocument to render a list of all associated Client Orders.

Order History

๐Ÿ”ง How to Use

  • Select any Service Type from the landing page.
  • Select a Fixer from the available list and complete the Booking Request Form to submit a service order request.
  • Register as a Client with an email address, password and contact details to continue.
  • Once logged into an authenticated session the booking process may proceed to the service order summary and confirmation parts of the booking process. Additionally, a list of all previous orders may now be accessed via the Client Order History.
  • Once a user is registered and completes at least one order, the assistuDB database with the Clients and Orders collections are created with the user-provided data.
  • Utilize Robo3T to access and view the database with newly created records. Pay particular attention to the Orders collection and the created subDocuments.

๐Ÿš€ Getting Started

Prerequisites ๐Ÿ“‹

This project uses NodeJS, NPM and MongoDB. To confirm if locally installed, enter into the terminal node --version, npm --version, and mongo --version. If not locally installed, please the links below to conveniently access download instructions.

Dev Dependencies

๐Ÿ’พ Installation

  1. In desired location, run in the terminal git clone to clone the project repository to the local machine.
  2. It is optional, but recommended to use Robo3T to access and manage the local database.
  3. In the terminal run npm install or npm install body-parser db dotenv ejs ejs-lint express express-session lodash mongoose multer nodemon passport passport-local passport-local-mongoose to ensure all required developer dependencies are installed to successfully run this project locally.
  4. In the terminal cd into v10-geckos-team-14.git/ and open the app.js file located within the root folder. Locate the database connections section within app.js and replace it with the below code snippet.
//========================================DATABASE CONNECTIONS===========================================
// for local DB connection ============================================================
mongoose.connect('mongodb://localhost:27017/assistuDB', { useNewUrlParser: true })

//for live DB connection ============================================================
//mongoose.connect(process.env.MONGO_URI, { useNewUrlParser: true })
mongoose.set('useFindAndModify', false)
mongoose.set('useCreateIndex', true)`
  1. While in project directory within the terminal first run mongod followed by node app.js to start the server. Once the server is running successfully, a terminal message stating server started at 3000 will appear.
  2. In a browser visit localhost:3000 and happy coding!

๐Ÿ› ๏ธ Technologies Used

๐ŸŽจ Design Mockups

Design Mockups

๐Ÿ’ป Authors

Chingu Voyage 10 Team #14 ๐Ÿ‡ฎ๐Ÿ‡ณ & ๐Ÿ‡บ๐Ÿ‡ธ

Application designed and implemented by Kathy Lambert and Vaibhav Srivastava.

๐Ÿ’ฌ Contributions

  • All contributions welcome, to contribute, please fork the repository and use a feature branch. Once complete, all pull request submissions are warmly welcome.
  • Features and improvement suggestions are also welcome.

๐Ÿ”— Links

๐Ÿ“„ License

The code in this project is licensed under the MIT License ยฉ Vaibhav Srivastava and Kathy Lambert.

๐Ÿ‘ Acknowledgments

Thank you, Chance and the Chingu-X Team for giving back and creating Chingu Organization. This Voyage 10 project is in part a result of your efforts and contributions to the tech industry.

Thank you FlatIcon and the following Designers for their contributions and your willingness to give back under the Creative Commons 3.0:

Thank you IconFinder and the following Designers for their contributions and your willingness to give back under the free for commercial use license:


AssistU - On-Demand Household & Personal Booking Service | Chingu Voyage 10 Team #14 ๐Ÿ‡ฎ๐Ÿ‡ณ & ๐Ÿ‡บ๐Ÿ‡ธ |







No packages published

Contributors 4