https://github.com/anuradhawick/vinyl-search
All about Sri Lankan vintage and modern music records
https://github.com/anuradhawick/vinyl-search
lp music records vinyl
Last synced: about 2 months ago
JSON representation
All about Sri Lankan vintage and modern music records
- Host: GitHub
- URL: https://github.com/anuradhawick/vinyl-search
- Owner: anuradhawick
- Created: 2019-05-18T12:26:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T09:23:02.000Z (over 1 year ago)
- Last Synced: 2025-02-05T11:18:31.588Z (4 months ago)
- Topics: lp, music, records, vinyl
- Language: CSS
- Homepage: https://www.vinyl.lk
- Size: 9.08 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vinyl.LK
Angular and AWS Lambda project of Vinyl.LK
## Development server
```
# ui at port 4200
ng serve# serverless offline
cd lambda
node offline-serverless.js#OR
cd lambda
npm start```
## Development SSR
```
npm run serve:ssr
```## Deployment of Angular
```
npm run build:deploy:prod
```## Deployment of Backend Lambdas
```
serverless deploy --stage prod --service
```## Environment Variables Angular
File `./src/environment/environment.prod.ts` or `./src/environment/environment.ts`
```js
export const environment = {
production: false,
aws_config: {
Auth: {
identityPoolId: '',
region: '',
userPoolId: '',
userPoolWebClientId: '',
mandatorySignIn: false,
oauth: {
domain: '',
scope: ['phone', 'email', 'profile', 'openid', 'aws.cognito.signin.user.admin'],
redirectSignIn: 'http://localhost:4200/',
redirectSignOut: 'http://localhost:4200/',
responseType: 'code',
code_challenge: null
},
},
Storage: {
AWSS3: {
bucket: '',
region: '',
}
}
},
api_gateway: ''
};
```## Environment Variables for Backend Lambdas
These variables are shared with the SSR lambda for Angular app.
```yaml
config:
service:
region:
userpool_authorizer_arn: arn:
user_pool_id:
env:
MONGODB_ATLAS_CLUSTER_URI: mongodb://localhost:27017
BUCKET_NAME:
BUCKET_REGION:```