https://github.com/baroxyton/arbeit
https://github.com/baroxyton/arbeit
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/baroxyton/arbeit
- Owner: baroxyton
- Created: 2022-01-31T13:14:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T17:26:02.000Z (3 months ago)
- Last Synced: 2025-03-05T18:35:58.348Z (3 months ago)
- Language: JavaScript
- Size: 3.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SPASocial: A simple social media site
DISCLAIMED: Unmaintained hobbyist project. Do not deploy.
## Installation
### 1. Building the frontend
```bash
git clone [email protected]:baroxyton/Arbeit.git &&
cd Arbeit &&
cd frontend &&
npm i &&
npm run build
```### 2. Installing the backend
```bash
cd ../backend &&
npm i
```in order to add support for images, register a imgbb api key and add it to `backend/.imgbb-key`
When running without image support, it is still necessary to create an empty file `backend/.imgbb-key`
### 3. Running
To run on port 8080:
```bash
node index.js
```### 4. Adding admin user
An existing user can be made admin manually in the database as follows:
1. halt server
2. edit `backend/.data.json`
3. add the `"admin"` role after the `"user"` role and save
4. restart the server. The user should now be admin.Admins can use the interface available at `/admin` for moderating and creating new users.