Skip to content

Commit

Permalink
Merge pull request #112 from Folody-Team/phatdev12-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
phatdev12 authored Feb 9, 2024
2 parents 043653d + e1c63e7 commit cc21a8d
Showing 1 changed file with 1 addition and 127 deletions.
128 changes: 1 addition & 127 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,131 +1,5 @@
<p align="center"><a href="#"><img src="https://cdn.folody.xyz/Group_6.svg" height="120"/></a></p>

<br/>
<h1 align="center">Shartube</h1>
<p align="center">Online sharing platform</p>

# What is Shartube

Shartue is a social networking platform that allows users to share stories and videos, and users can interact with each other by messaging and emotional interactions.

## Environment Variables

To run this project, you will need to add the following environment variables to your .env file

`DB_HOST`
`DB_PORT`
`DB_USERNAME`
`DB_PASSWORD`
`DB_NAME`
`JWT_SECRET`


## Run Locally

Clone the project

### Frontend

If you want to run web application, please visit here.
## **Web application**
```
cd web
```
> In this project we are using yarn. Before you do the next steps if you haven't downloaded yarn do the following.
<details close>

<summary>Install <b>yarn</b></summary>
<br/>

```
npm i -g yarn
```

</details>

Install all dependencies and run dev command.

<br/>

```
yarn dev
```

If you wanna build

```
yarn build
```

This is where you want to run your mobile app.

## **Mobile app**

Firstly
```
cd app/mobile
```
Make sure you have downloaded all package dependencies

Check it out `package.json`

**Android**

```
yarn android
```

**IOS**

```
yarn ios
```

**Web**

```
yarn web
```

### Backend

```bash
git clone https://github.com/Folody-Team/Shartube/
```

Go to the project directory

```bash
cd Shartube
cd server
```

Start the server

```bash
go run github.com/cosmtrek/air
```
Make sure you installed [**Golang**](https://go.dev/), [**NodeJs**](https://nodejs.org/).

## Tech Stack

**Client:** Next.js, React, Redux, TailwindCSS,...

**Server:** Golang, Mux, Net/http,...

## Support

For support, [join our Discord server](https://discord.gg/BbKvjwsYwM).

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Stargazers
[![Stargazers](https://reporoster.com/stars/Folody-Team/Shartube)](https://github.com/Folody-Team/Shartube/stargazers)


<p align="center"><a href="#"><img src="http://randojs.com/images/backToTopButton.png" alt="Back to top" height="29"/></a></p>

The project has moved on https://github.com/sharproject/Shartube

0 comments on commit cc21a8d

Please sign in to comment.