Code Monkey home page Code Monkey logo

opensourcecollage.com's Introduction

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).

opensourcecollage.com's People

Contributors

bianlee avatar pranavrajpal avatar

Forkers

akshithio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.