Q/A forum for Computer Science and Engineering students.
Q/A forum for Computer Science & Engineering students.
View Demo · Report Bug · Request Feature
Ask a question, contribute an answer and upvote your favourite one! CsOverflow gives students correct answer and derivation of all relevant computer science and engineering questions.
⚠️ Website isn’t mobile friendly and for best experience use Google Chrome.
Before running app locally make sure that you install following things:
$ https://github.com/adarshaacharya/csoverflow.git
Install both client and server dependencies
# Install dependencies for server
$ npm install
# Install dependencies for client
$ npm run client:install
Create .env
file in project root dir
$ touch .env
Copy everything from .env.example
as paste it in .env
Create database named csoverflow
with pgadmin
or postgres cli
from your terminal. (You don’t have to create tables for database)
Replace the fields likeDB_HOST
, DB_USER
, etc. with your postgres database setup. Place random word as jsonwebtoken
in JWT_SECRET
.
Checkout my local configuration in .env.development
file and set your config accordingly.
Now you can run the application by :
# Run the client & server with concurrently (for running full application)
$ npm run develop
# Run the Express server only
$ npm run server
# Run the React client only
$ npm run client
# Server runs on http://localhost:5000 and client on http://localhost:3000
There is a Heroku post build script so that you do not have to compile your React frontend manually, it is done on the server. Simply push to Heroku and it will build and load the client index.html page
Contributions, issues and feature requests are welcome. After cloning & setting up project locally, you can just submit a PR to this repo and it will be deployed once it’s accepted.
Read CONTRIBUTING.md for complete guide of Contribution
⚠️ Note - Commit & PR Title :
It’s good to have descriptive commit messages so that other folks can make sense of what your commit is doing.
This project uses Husky prevent bad git commit
, git push
and more 🐶 _woof!
Read conventional commits before making the commit message.
Give a ⭐️ if you like the project! 🎉
Copyright © 2020 Aadarsha Acharya.
This project is MIT licensed.