Giter Site home page Giter Site logo

illoh-py / valley.txt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ianklawton/cs375-final-project

0.0 0.0 0.0 11.8 MB

Project Files for CS375 Final Project at Drexel University Winter Quarter 21-22 by Ekene Illoh, Ian Lawton and Masen Kasper

HTML 1.96% CSS 4.07% JavaScript 93.97%

valley.txt's Introduction

Getting Started with Create React App

This project was bootstrapped with Create React App.

Step One - Create package.json

Go to the Project directory in the Terminal and install all Modules needed to run the site. Here are all of the commands that should be executed:

npm install express

npm install pg

npm install cors

npm install bcrypt

npm install react-bootstrap [email protected]

npm install --save styled-components

npm install use-sound

npm install react

npm install react-router-dom

npm install react-dom

Step Two - Create Database

Open the Terminal and run setUpDatabase.sql using this command:

psql -u "username" -f .\setUpDatabase.sql

(Fill in username with your PostgresSQL username)

Create an env.json file that the sever can access on the outside of the main directory (for security reasons)

It should look something like this:

{ "user": "YOUR USERNAME", "host": "localhost", "database": "valleytxt", "password": "YOUR PASSWORD", "port": 5432 }

Step Three - Start React App

In the project directory, run:

npm start

This will run the app in the development mode.
Open http://localhost:3000 to view it in your browser. (Usually this will occur after running npm start)

The page will reload when you make changes.
You may also see any lint errors in the console.

Step Four - Start Server.js

Open another instance of your Terminal and go to the Project directory

To start the server, run the command:

node server.js

At any point you need to stop the react app or server, hit either CTRL+C or COMMAND+C in the directory where they are running to close them. You can also just close your terminal window

valley.txt's People

Contributors

ianklawton avatar masenkas avatar illoh-py 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.