Sauce searcher is a fullstack application used to search and get information for anime, manga, light novels, visual novels, and doujins. When built, the application can be run either locally on deployed online to a web service. A sample instance of the application can be found at https://f4str.github.io/sauce-searcher.
Since this is a fullstack application, the server and client are separated into two separate directories that need to be run together.
-
The server is a
Pythonapplication that usesFastAPIanduvicornto create a REST API to perform HTTP GET requests. -
The client is a
Node.jsapplication withTypeScriptthat usesReactcreates a web interface which performs API calls to the server.
The server and client both require their own requirements. For the server ensure the following are installed.
Pythonpipvenv
For the client ensure the following are installed.
Node.jsYarn
For more details on how to install each requirement, view the README.md on the respective server or client directory.
After installing all the requirements, clone the repository.
git clone https://github.com/f4str/sauce-searcherOpen two terminals in the cloned directory. One terminal will be used for the server and the other will be used for the client.
In one terminal, change run the following commands to install all dependencies and launch the server.
# change directories to the server
cd server
# create new virtual environment using venv
python3 -m venv venv
source venv/bin/activate
# install all dependencies using pip
pip install -e .[dev]
# start the server
./run.shIn the other terminal, run the following commands to install all dependencies and launch the client.
# change directories to the client
cd client
# install all dependencies using yarn
yarn
# start the client
yarn startThe application is available on http://localhost:8080.
For more information or details on either the server or client separately, view the README.md for the respective directory.