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.giton 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
serverfolder, create a new file named.envwhich stores informations about the server side, such asATLAS_URIandSECURITY_KEY. For example of this file, you can viewserver/.env.examplefile - Inside
clientfolder, create a new file called.envwhich stores informations about client side such asREACT_APP_SECRET_KEYandREACT_APP_SERVER_URLinformations. For example of this file, you can viewclient/.env.example. For example of this file, you can viewwebsite/.env.examplefile - Install all depedencies
- Client side: on the
clientdirectory, typenpm install - Server side: on the
serverdirectory, typenpm install
- Client side: on the
- Run it on node.js:
- Client side: on the
clientdirectory, typenpm start - Server side: on the
serverdirectory, typenpm start
- Client side: on the