Warning: although this project has some basics security such as hashed user password so on, this project is NOT secure enough in production. (Contribute to this project by making a pull request will be appreciated). In addition, this stackoverflow clone is not completely cloned the original stackoverflow.
Quicky setup:
- Clone this repository or fork it.
- To clone this repository, type
git clone https://github.com/kimlimjustin/stackoverflow-clone.git
on your command line - To fork this repository, click fork button of this repository then type
git clone https://github.com/<your username>/whatsapp-clone.git
- To clone this repository, type
- Inside
server
folder, create a new file named.env
which stores informations about the server side, such asATLAS_URI
andSECURITY_KEY
. For example of this file, you can viewserver/.env.example
file - Inside
client
folder, create a new file called.env
which stores informations about client side such asREACT_APP_SECRET_KEY
andREACT_APP_SERVER_URL
informations. For example of this file, you can viewclient/.env.example
. For example of this file, you can viewwebsite/.env.example
file - Install all depedencies
- Client side: on the
client
directory, typenpm install
- Server side: on the
server
directory, typenpm install
- Client side: on the
- Run it on node.js:
- Client side: on the
client
directory, typenpm start
- Server side: on the
server
directory, typenpm start
- Client side: on the