A website for the University of Toronto Freelancers' Society.
To run the site locally now (since it requires a database connection), there are a few steps you need to take.
- Clone or Reclone the repository. (Delete versions prior to 03/22/2022)
- Run
npm iin the root directory of the folder you cloned the repository to, and also runnpm iin the server directory. This installs packages for both the client and the server.
- In the server directory, create a
.envfile (no name, just the extension), and put the following in it.CONNECTION_URL=mongodb+srv://admin:admin@articles.bgojn.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
- In the server directory, run
npm start
- In another terminal, run
npm startin the root directory - Wait for react to load your webpage and you're done!