A forum application built with NodeJS, Express, ReactJS and Postgresql.
- Login Register System
- Main Forum
- SubForum
- Thread
- Comments system
- JWT's
Make sure you have these installed
- Postgresql
- Node JS
- NPM
- GIT
Clone the repository
git clone "https://github.com/faridafadilah/MiniProject-Reactjs-Nodejs.git"
Make sure you are in the directory of your application. After this run these commands:
npm install --dev
cd client
npm install --dev
In your first terminal
npm start In the second
npm run servnpm test
Compile the server code and client code by running npm run build.
This will generate a dist folder with the javascript server code and a build folder inside the client code with the built
client code. If you want to serve the static client files with Express, change the MODE env variable to 'PRODUCTION'.
Otherwise, you can simply serve them with a different service like NGINX.