The starting point for the bitcoin-exchange project, containing individual client and server applications. Each application has their own package.json, to prevent cross-pollination of dependencies between client and server-side.
Contains
- Sample Redux / React application based on the create-react-app seed framework.
- Mockup wireframe to build a sample UI before implementation.
- Open your CLI
- Change to the
client
directory within this project - Run
npm install
to install the client-side dependencies - Run
npm start
to host the application on http://localhost:8080
Contains empty matcher and unit test file.
- Open your CLI
- Change to the
server
directory within this project - Run
npm install
to install the server-side dependencies - Run
npm test
to run the unit tests
├── bitcoin-exchange-seed/
│ ├── client - client-side application
│ │ ├── node_modules - application's dependencies (e.g. React, Redux, socket.io-client)
│ │ ├── public
│ │ │ ├── favicon.ico - default React favicon
│ │ │ ├── index.html - page template
│ │ │ ├── mockup.html - empty mockup wireframe
│ │ ├── src
│ │ │ ├── components
| │ │ │ ├── App.css - CSS specific to the App component
| │ │ │ ├── App.js - main component for the app
| │ │ │ ├── App.test.js - tests specific to the App component
│ │ │ ├── reducers
| │ │ │ ├── ducks
| | │ │ │ ├── example.js - an example 'duck' which contains a related action type, reducer and action creator
| │ │ │ ├── root.js - root reducer that is a combination of all the other reducers
│ │ │ ├── store
| │ │ │ ├── configure-store.js - code to configure the Redux store
│ │ │ ├── index.css - application-wide styles
│ │ │ ├── index.js - JavaScript entry point
│ │ │ ├── logo.svg - default React logo
│ | ├── .gitignore - specifies intentionally untracked files that Git should ignore
│ │ ├── package.json - metadata relevant to the client application, used by npm to manage application dependencies
| │ ├── README.md - create-react-app README file
│ ├── server - server-side application
│ │ ├── app
│ │ │ ├── matcher.js - placeholder file for the matcher implementation
│ │ ├── node_modules - server-side dependencies (e.g. socket.io, jest)
│ │ ├── test
│ │ │ ├── matcher.test.js - placeholder file for the matcher unit tests
│ │ ├── package.json - metadata relevant to the server application, used by npm to manage application dependencies
│ ├── .gitignore - specifies intentionally untracked files that Git should ignore
│ ├── LICENSE - MIT software license file
│ ├── README.md - what you're reading right now