Skip to content

acmucsd-projects/wi21-lion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Team Lion • Winter 2021

Welcome to ACM Projects!

This repository will store your code for the Winter 2021 project cycle. To get you started, we've linked to various resources below.

Resources

Sources of Help

  • Innovate Discord — ask questions, and get help from mentors and other project teams!
  • Stack Overflow - ask questions about code problems you might be having

💻 MERN stack template

Template for building projects with the MERN (MongoDB, Express, React, Node.js) stack. This template was generated using create-react-app and express-generator for the client and server, respectively.

Prerequisites

  • Install Node and npm here
  • Install yarn with the command npm install -g yarn
  • Set up a MongoDB Atlas instance. See this video for help!
  • Create a .env file with a variable called DB_URL and paste your MongoDB url:
DB_URL=mongodb://mongodburl.example.com:portnumber

Running

  1. cd into client and run the command yarn install to install all dependencies
  2. To start the client, run yarn start in the same directory
  3. In another command window, cd into server and run yarn install and yarn start to install all dependencies and start the server.
  4. Happy hacking!