This repository powers the PayString.org web application built using Gatsby
-
Clone the PayString.org repository.
Use git to pull down the PayString.org repository.
git clone https://github.com/paystring/paystring.org.git
-
Start developing.
Navigate into PayString.org's directory, install the packages, and start it up.
cd paystring.org/ npm i npm run start
-
Start editing!
PayString.org is now running at
http://localhost:8000
!Save your changes and the browser will update in real time!
A quick look at the top-level files and directories you'll see in the PayString.org repository.
.
├── .github
├── .vscode
├── node_modules
├── src
├── static
├── .dockerignore
├── .gitignore
├── .gitlab-ci.yml
├── Dockerfile
├── gatsby-browser.js
├── gatsby-config.js
├── package.json
├── package-lock.json
├── README.md
├── tailwind.config.js
└── tsconfig.json
-
/.github
: This directory contains github configuration files such as theCODEOWNERS
file. -
/.vscode
: This directory contains the recommended vscode extensions and settings for the editor. -
/node_modules
: This directory contains all of the modules of code that our project depends on (npm packages) are automatically installed when using thenpm i
command. -
/src
: This directory contains all of the code related to what you will see on the front-end of PayString.org.src
is a convention for “source code”. -
/static
: This directory contains any files or assets that will be accessible at the root of https://PayString.org. For instance favicon.ico can be accessed at https://PayString.org/favicon.ico. -
.dockerignore
: This is a configuration file for Docker. Dockerignore tells our docker build to exclude certain directories from the docker container. -
.gitignore
: This is a configuration file for git. The gitignore tells us which files to exclude in our committed source code. -
.gitlab-ci.yml
: This is a configuration file for Gitlab CI. This is the required steps that setups up our continuous deployment as well as tests our code to ensure our code meets basic standards before being merged into github. -
Dockerfile
: This is a configuration file for Docker. The Dockerfile tells the docker container how to process and deploy the code. -
gatsby-browser.js
: This file is where Gatsby expects to find any usage of the Gatsby browser APIs. These allow customization/extension of default Gatsby settings affecting the browser. -
gatsby-config.js
: This is the main configuration file for a Gatsby site. We specify information about PayString.org like the site title and description, which Gatsby plugins we include, etc. (Check out the gatsby config docs for more detail). -
package.json
: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project. -
package-lock.json
(Seepackage.json
below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed. (You won’t change this file directly). -
README.md
This the code that hosts the helpful content you are reading right now. -
tailwind.config.js
: This is the main css configuration file that holds all of our theming configuration. This is for the CSS framework tailwind which we use for PayString.org. -
tsconfig.js
: This is the configuration file for our typescript configuration. We use a strict configuration that doesn't allow any loose typings in order to maintain a high code quality.