Giter Club home page Giter Club logo

full-stack-app's Introduction

Full Stack App

Tenth and final project in the Team Treehouse Full Stack JavaScript Techdegree.

Prerequisite

A .env file must be present in the client app root directory with a random string value set to a variable named REACT_APP_SECRET_KEY. An example has been committed to the repository by the name of .env.example, but the actual file name when you start the app should be .env. This value is used in the app to encrypt and decrypt passwords. You can either come up with your own super secret string, or generate a secure one by using an online hash generator (recommended).

NOTE: If you start the client server before adding the .env file, you will need to stop and restart it for React to read the file into memory.

Getting Started

To run the app locally, you'll need a MongoDB database setup. First, install dependencies for the API.

cd api
npm install

Ensure you have MongoDB setup on your local system.

Next, seed your MongoDB database with the provided seed data.

npm run seed

Then you can start the API app.

npm start

Finally, install dependencies and run the client app.

cd client
yarn install
npm start

Now you can browse to http://localhost:3000 in your preferred web browser.

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.