https://github.com/vasyl1312/27.photo_drop
Photo Drop App (Backend Part - AWS)
https://github.com/vasyl1312/27.photo_drop
aws-s3 commerce drizzle-orm nodejs photographers postgresql typescript
Last synced: 2 months ago
JSON representation
Photo Drop App (Backend Part - AWS)
- Host: GitHub
- URL: https://github.com/vasyl1312/27.photo_drop
- Owner: vasyl1312
- Created: 2023-08-03T12:24:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T14:08:52.000Z (over 2 years ago)
- Last Synced: 2025-01-08T07:47:42.214Z (over 1 year ago)
- Topics: aws-s3, commerce, drizzle-orm, nodejs, photographers, postgresql, typescript
- Language: TypeScript
- Homepage: https://photo-drop.onrender.com/api_docs/
- Size: 499 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Photo Drop (First part) [Read requirements](https://www.notion.so/27-Photo-Drop-F-B-f94b4897a6f1442193344dc6118e6841)
Backend Part(Mine) [Link](https://photo-drop.onrender.com/api_docs/)
Fullstack completed project [Link](https://photographer-two.vercel.app/)
> Commercial project
## Prerequisites
This project requires NodeJS (version 8 or later) and NPM.
[Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install.
To make sure you have them available on your machine,
try running the following command.
```sh
$ npm -v && node -v
8.17.0
v17.4.0
```
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
## Installation
**BEFORE YOU INSTALL:** please read the [prerequisites](https://www.notion.so/27-Photo-Drop-F-B-f94b4897a6f1442193344dc6118e6841)
Start with cloning this repo on your local machine:
```sh
$ git clone https://github.com/ORG/PROJECT.git
$ cd PROJECT
```
For Windows users in packege.json:
```sh
"scripts": {
"start": "set NODE_PATH=./dist && node ./dist/index.js",
"dev": "nodemon",
"build": "del /S /Q dist && tsc -p tsconfig.json",
"prod": "npm run build && npm run start",
"dk-generate": "drizzle-kit generate:pg",
"dk-deploy": "ts-node --require tsconfig-paths/register .drizzle/migrator.ts",
"dk-dev": "ts-node --require tsconfig-paths/register src/db/clinicQueryPush.ts"
},
```
To install run:
```sh
$ npm install
```
## Usage
### Serving the app and building a distribution version
```sh
$ npm run build
```
This task will create a distribution version of the project
inside your local `dist/` folder
After this, project opens at http://localhost:5000 If not, just open a new tab in your browser and paste there
http://localhost:5000