![Logo](/TiagoRibeiro25/Only-Foods-FE/raw/main/images/logo.png)
This is the front end of the Only Foods project, a web application that allows users to share thoughts, recipes, and chat with each other about food.
Status: In development
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Only Foods is a web application that allows users to share thoughts, recipes, and chat with each other about food.
This project was made as a side project to elevate my skills in React, Typescript and WebSockets. It was made fully alone, from the design to the deployment.
To get a local copy up and running follow these simple steps.
In order to run this project, you need to have installed
- Nodejs
- npm
You also need to have this API running locally.
-
Clone the repo
git clone https://github.com/TiagoRibeiro25/Only-Foods-FE.git
-
Install NPM packages
npm install
-
Create a .env file, add the variables in the .env.sample file and fill them with your own values. The .env file should have the following variables:
VITE_API_ROUTE
-
Run the project
npm run dev
-
Install NPM packages (if you haven't already)
npm install
-
Build the project
npm run build
-
All the files needed for production will be in the dist folder. You can serve them with any server you want. If you want to serve them with nodejs, you can use the following command:
npm install -g serve serve -s dist
All the documentation can be found here.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact through my personal website.