GitXplorerGitXplorer
p

opensourcecollage.com

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
687d32c8cd7ae358bac6e4fe51d05b229b5b2279

Merge pull request #7 from pranavrajpal/add-filtering

BBianLee committed 3 years ago
Unverified
dd60ee97056151e442304d7a369bbade5882be8f

Add filtering

ppranavrajpal committed 3 years ago
Unverified
c372dd6fc1ae850436d4dffe9d1ab59cb19fcf52

Create function for removing selected posts

ppranavrajpal committed 3 years ago
Unverified
3a6285848da9c34d524b9786808d546981d15335

Move FilterCheckboxes into a FilterBoxes component

ppranavrajpal committed 3 years ago
Verified
aba2d45e169701e854fc0a9463fcc75bd02dda5e

Merge pull request #6 from pranavrajpal/master

BBianLee committed 4 years ago
Unverified
784911b41dbe9917b4935a395f9b6a14d32d9934

Fix link not showing up

ppranavrajpal committed 4 years ago

README

The README file for this repository.

Technologies & Stack

opensourcecollage.com is built on MERN stack (MongoDB, Express, React, NodeJS).

The client (static framework) is served on Netlify.

API Endpoint route is served on Vercel.

Firebase is used for user authentication.

MongoDB Atlas holds all document-based data on the cloud.

With speed & security concerns, our team is considering scaling the web app and hosting the entire stack on a Linux VM instance (EC2 or DigitalOcean).

Front-End

/client is built with ReactJS create-react-app setup.

/client/src/components hold component for login system and uses styled-components.

/client/src/containers holds multiple .js files that each correspond to a component or a web page (still dynamically rendered).

To serve locally, run npm start. It will serve on localhost:3000.

Back-End

/server/models/message.js defines the Schema of MongoDB document collection that gets stored and retrieved.

/server/routes/api.js outlines the API Endpoint and routes URL directory for GET and POST HTTP methods.

It is not required to start the server locally, because it initiates server connection with one served on the cloud (Vercel). To serve it locally and use the local server connection instead, modify /client/src/containers/main.js and replace current Vercel Endpoint URL tolocalhost:5000. Then, start the server by going to /server and running nodemon server.js. (While it is possible to run npm start, nodemon makes development much more efficient).