Skip to content

farisbegic/askit-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Ask.it is a React.js, Node.js, and PostgreSQL-based full-stack web application that allows users to ask and answer questions.

This repository contains frontend implementation, which is deployed to Heroku

Follow the steps below to get started with this project's development environment.

  1. Download and install NodeJS from https://nodejs.org/en/
  2. Clone this repository and navigate into it

Setup

To run this project, open the cloned repository and follow these steps:

  1. Navigate to the project folder and install dependencies with command
npm install or npm i
  1. Launch the development server using the command
npm start

This should run the application in your browser at localhost:3000.

Features

  • The homepage is a public route that includes a search area for filtering questions, a list of the most recent questions, and a statistics section that shows who has the most responses and questions with most likes.
  • My Questions is a private page that filters questions posted by the current logged-in user. Create, Edit, and Delete questions are all possible options for the user.
  • The question page is a private route that displays all of the question's data as well as any relevant answers. A logged-in user can also Like/Dislike questions and answers, as well as Add/Edit/Delete responses.
  • The profile page is a private route that displays the profile of the currently logged-in user. The user can amend personal information and change their password.
  • Login page is a public route that allows users with accounts to log in.
  • Register page is a public route that allows new users to register, contains form validation.
  • Upon receiving an answer for users question, user is notified in realtime (no need to refresh)

Account

You can test the application using:

fabegic@gmail.com
testuser1

You can find backend implementation here.