Giter Site home page Giter Site logo

zjw-92 / fullstack_project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 35.15 MB

This is a fullstack MERN application to take memories with message and hashtag. Users can edit, delete the memories and count thumb up times.

Home Page: https://memories-fullstackapp.netlify.app/

JavaScript 90.00% HTML 10.00%
axios-react express expressjs material-ui mongodb nodejs react redux redux-thunk redux-toolkit

fullstack_project's Introduction

This is a fullstack MERN application to take memories with message and hashtag. Users can edit, delete the memories and count thumb up times.

Netlify Status

Teck stack

MongoDB Express.js React NodeJS

Setup

Client

Run npm install && npm start

  • axios: make api requests
  • moment: a library work with time and date
  • react-file-base64: convert images for uploading
  • redux: a predictable state container for JavaScript apps
  • redux-thunk: asynchornous actions using redux
  • @material-ui/core: install UI styling
  • react-redux: official React UI bindings layer for redux

Server

Run npm install && npm start

  • body-parser: enable to send post requests
  • cors: enable cross origin requests
  • express: framework for creating the routers
  • mongoose: create models for posts
  • nodemon: automatically restart the node application

Database

  • connect with MongoDB with signing up http://www.mongodb.com/cloud/atlas in index.js/server and add follows:
const CONNECTION_URL = 'here paste your connection string from mongodb'
const PORT = process.env.PORT || 5000; 
mongoose.connect(CONNECTION_URL, {useNewUrlParser : true, useUnifiedTopology : true})
  .then(() => app.listen(PORT, () => console.log(`Server is running on port: ${PORT}`)))
  .catch((error) => console.log(error.message)); 

fullstack_project's People

Contributors

zjw-92 avatar

Stargazers

 avatar

Watchers

 avatar

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.