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.
- MERN Project Template: https://acmurl.com/mern-template
- Hack School Fall Quarter Resources: http://acmurl.com/hackschool
- Design Document Template: https://acmurl.com/hack-dd-template
- Design Document Example: https://acmurl.com/hack-dd-example
- List of Public APIs (for inspiration!): https://github.com/public-apis/public-apis
- Full Stack Template: https://github.com/trulyronak/FullStackTemplate
- ACM's Workshops: acmurl.com/workshops
- ACM's YouTube Channel: https://acmurl.com/youtube
- Essential Backend Starter Guide: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website
- Innovate Discord — ask questions, and get help from mentors and other project teams!
- Stack Overflow - ask questions about code problems you might be having
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.
- Install Node and npm here
- Install
yarn
with the commandnpm install -g yarn
- Set up a MongoDB Atlas instance. See this video for help!
- Create a
.env
file with a variable calledDB_URL
and paste your MongoDB url:
DB_URL=mongodb://mongodburl.example.com:portnumber
cd
intoclient
and run the commandyarn install
to install all dependencies- To start the client, run
yarn start
in the same directory - In another command window,
cd
intoserver
and runyarn install
andyarn start
to install all dependencies and start the server. - Happy hacking!