Skip to content

2bttns/react-express-twobttns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-express-twobttns

Make sure Docker is installed and running.

Read the full walkthrough here: https://docs.2bttns.com/getting-started/use-2bttns-to-personalize-profiles-react-+-node

react-express-twobttns/
│
├── client/                  # React.js client
│   ├── public/              # Static files
│   │   ├── index.html       # Entry point for the React application
│   │   └── ...
│   ├── src/                 # React.js source files
│   │   ├── components/      # React components
│   │   ├────── signup.js    # Our sign up form component 
│   │   ├────── results.js.  # Our game results component 
│   │   ├── App.js           # Main React application file
│   │   ├── index.js         # Entry script for React
│   │   ├── Profile.js       # Profile web page
│   │   └── ...
│   ├── package.json         # NPM package file for React dependencies
│   └── ...
│
├── server.js                # Express.js server
├── package.json             # NPM package file for server dependencies and scripts
│
├── .gitignore               # Specifies intentionally untracked files to ignore
├── README.md                # Project documentation
└── docker-compose.yml ⭐️    # 2bttns console docker compose file 

Running

In the root directory

npm install & npm run client-install

Run server+client concurrently

npm run dev

Run the Console in docker

docker-compose up