Skip to content

selmapapic/Ask.it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo2

Overview

Ask.it is a full stack web application made with Go and React.js that allows users to ask questions and give answers to other user's questions. ❓

This project is deployed to Heroku:

Frontend: https://askit-go-react-app.herokuapp.com/

Backend Server: https://askit-go-server.herokuapp.com/

The video below shows the app with all its features working successfully. It is run on localhost since there are some CORS errors after deployment to Heroku.

Ask.it.video.mp4

Run on localhost

To run the application locally you should:

  1. Clone/download the project to Visual Studio Code
  2. Checkout to branch localhostVersion
git checkout localhostVersion
  1. Run go-server from terminal by
cd go-server
go run .
  1. Create a new terminal and run frontend by
cd client
npm run start
  • This way the application can be run without any CORS errors that are present when using Heroku deployment links.

Features

  • Homepage (newest questions, users with most questions and most liked questions displayed)
  • User registration (JWT + cookies used, user passwords hashed using bcrypt package)
  • Edit profile
  • Ask questions, add answers
  • Like/dislike questions and answers
  • Search and sort questions
  • Edit questions and answers
  • Get email when someone's question is answered

Tech 💻

  • Go
  • React.js
  • MySQL Database
  • JSON Web Token - jwt-go
  • Bootstrap