Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkdev98/upload.innoteq.vn
Simple image upload server using CRA, Express, Sharp and S3, deployed on Heroku.
https://github.com/bkdev98/upload.innoteq.vn
ant-design aws-s3 create-react-app express heroku image-processing image-server sharp
Last synced: 7 days ago
JSON representation
Simple image upload server using CRA, Express, Sharp and S3, deployed on Heroku.
- Host: GitHub
- URL: https://github.com/bkdev98/upload.innoteq.vn
- Owner: bkdev98
- License: mit
- Created: 2019-06-08T06:54:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:58:21.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T03:03:40.097Z (7 months ago)
- Topics: ant-design, aws-s3, create-react-app, express, heroku, image-processing, image-server, sharp
- Language: JavaScript
- Homepage: https://innoteq-upload.herokuapp.com
- Size: 2.62 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 46
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# upload.innoteq.vn
> Simple image upload server using CRA, Express, Sharp and S3, deployed on Heroku.
> It can also be used as a template for react-express type apps, with authentication and ant-design configured.
### File structure
- `/client`: React project using [create-react-app](https://github.com/facebook/create-react-app).
- [Ant Design](https://ant.design) and [React Router](https://reacttraining.com/react-router/web) configured.
- Using [hooks](https://reactjs.org/docs/hooks-intro.html) and [zustand](https://github.com/react-spring/zustand) for state management.
- Styling using [styled-components](https://styled-components.com).
- `/server`: Our [express](https://expressjs.com/) app, compiled with [babel](https://babeljs.io/).
- Using [mongoose](https://mongoosejs.com/) for quick MongoDB access.
- [sharp](https://github.com/lovell/sharp) for image processing.
- [passport](http://www.passportjs.org/) for authentication.### Development
- Get [AWS S3](https://s3.console.aws.amazon.com/s3/home) and [MongoDB](https://www.mongodb.com/) configs, then update .env file:
```
cp server/.env.example server/.env
vim server/.env
```- Install deps and start server:
```
yarn install
yarn dev
```### Production
```
yarn build
yarn start
```### Contribute
See [https://github.com/bkdev98/upload.innoteq.vn/issues](https://github.com/bkdev98/upload.innoteq.vn/issues).
### License
[MIT License](https://github.com/bkdev98/upload.innoteq.vn/blob/master/license.md)