Skip to content

mtbtrq/Wildy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wildy - A Full Stack Chat Application

Image Gallery
How To Use

How to run?

  • Go to the backend folder, and run install_deps.bat to install all the dependencies.
  • Then navigate into the src folder, and run run.bat. It will start an express API server on localhost:5000
  • Go to the frontend folder, and run install_deps.bat to install all the dependencies.
  • Edit config.json in the folder to suit your needs, and finally, run run.bat to start the frontend server.
  • Enjoy :)

How to deploy API?

  • Download the heroku CLI
  • Download Git (Make sure to 'add to PATH')
  • Once downloaded, open up your terminal and type heroku login
  • Make a new file called Procfile (with no extension) and in that file, type web: node index.js
  • Make sure to change the port of your express API to process.env.PORT
  • You must have the node_modules folder when deploying.
  • Open a new terminal and navigate to the directory with the API in it.
  • Type git init
  • Type git add .
  • Type git commit -m "{anything you want, or you could just leave this as is}"
  • Type heroku create or heroku create {any name you would like to choose}
  • Finally, type git push heroku main, if that doesn't work type git push heroku master

How to deploy on Railway (much better option)

Simply click the button below

Deploy on Railway