redditech
how to build and install front
with flutter in terminal :
you don’t need to build or run the back-end app for use the flutter application
cd client
flutter pub get
flutter run
how to build api
with docker :
start by running the docker daemon and build the image with the following command:
cd ./api && docker build -t redditech .
and run your image with:
docker run -it --rm redditech
without docker :
verify go (version 1.17) is installed on your machine.
after that, you can build and run your api with the following commands:
cd ./api && go build -o api && ./api
reddit api routes documentation
search suberrit api:
basic reddit url
https://oauth.reddit.com/
search subberit topic
https://api.pushshift.io/reddit/search/submission/?subreddit=learnpython&sort=desc&sort_type=created_utc&after=1523588521&before=1523934121&size=1000
params:
subreddit=topic
sort=desc (by default)
sort_type=created_utc (by default)
after=timestamp (optional)
before=timestamp (optional)
size=number (number of data in array)
Comments are closed.