- 📖 About the Project
- 🔍 Arch Map
- 🛠 Built With
- 🚀 Live OpenAPI Docs
- 💻 Getting Started
- 🤝 Contributing
- ❓FAQ
- 📝 License
The Gateway Services are a suite of services designed to make interacting with Frequency easy for applications integrating with DSNP. The SAT is an example client that shows you how to use Gateway.
Gateway enables web2 companies to use a simple gateway into web3 using tooling they are accustomed to. It aims to let service providers self-serve with minimal help outside of docs and tools, rather than interacting with Frequency directly. Providers no longer need to fully understand blockchain tooling to build on DSNP over Frequency.
Key: * = coming soon
- Framework: React
- Language: Typescript
- Testing Library:
- UI Library: Ant Design
- Sign in with Frequency
- Create a post
- Create a comment on a post
- View a feed
- View other users' profiles
- Follow/Unfollow a user
- Gateway Live Docs
- Open Api docs coming soon...
This project was bootstrapped with Create React App.
To get a local copy up and running, follow these steps.
In order to run this project you need:
Clone this repository to your desired folder:
Example commands:
git clone [email protected]:ProjectLibertyLabs/social-app-template.git
cd social-app-template
The application is configured by way of environment variables. A complete list of available environment variables is
here. Environment variables are supplied to the application through environment files. The
environment is loaded by the create-react-app
framework. Details on specific naming of environment files for different
environments (dev, test, prod, etc) can be found
here. For local development, the environment
file is .env.local
.
A sample configuration file can be found here.
cp ./env.template ./.env
Install this project with:
Install NPM Dependencies:
npm install
To run the project, execute the following command:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm start
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
npm run build
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will
remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right
into your project so you have full control over them. All of the commands except eject
will still work, but they will
point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you
shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t
customize it when you are ready for it.
npm run eject
Launches the test runner in the interactive watch mode.
See the section about running tests for more
information.
npm test
npm run lint
npm run format
You can deploy using containers. Check the docker-compose.yaml file for more details.
Contributions, issues, and feature requests are welcome!
This project is Apache 2.0 licensed.