Skip to content

fedek1324/FileSharing

Repository files navigation

FileSharing

Angular file sharing with a bootstrap interface that interacts with a local json server. It has authorization, registration, the ability to upload files. All data is stored in a local db.json file.

This project was generated with Angular CLI version 10.1.3.

How to run

    Setup:

  1. Clone repository (no need to run npm i or something): git clone https://github.com/fedek1324/FileSharing
  2. Open project folder: cd FileSharing/
  3. Install json-server globally: npm i -g json-server
  4. Run:

  5. Run DB server: json-server --watch db.json
  6. Visit: File sharing on Vercel hosting

Development server

Use node v12.x.x and use npm scripts to run project (e.g. npm run start). Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.