My current job is UI design, but I also like to understand and learn front-end technology at work. This is a small website that I developed after learning Node last year. This project has been learning and doing for half a year intermittently, during which new functions have been constantly added to optimize user experience. Now because I want to think of a new project, I do not plan to continue updating, so I share it with friends who are interested in it, and we can learn from each other.
Project address github.com/luosijie/ca…
Preview the address card.luosj.me
The installation
- MongoDB is installed and started successfully
- Git clone “github.com/luosijie/ca…”
- npm install
- npm start
- Access localhost: 3000
- Node + Express
- MongoDB + Mongoose
Realize the function
- Log in to register
- Simple image processing
- Upload and save business card template
- Business card picture packaging and download
- Business card Template Collection
- Add, delete, change and check MongoDB data
- Html2Canvas is used to parse HTML into images
- JsZip is used for image packaging
- FileSaver Is used to export packaged ZIP files
Shortcomings of the website
- The code organization is more disorderly ———— which day the mood is good to arrange again
- No compatible browser, currently only Google Firefox is available ———— Life is too short for me to be compatible
- There is no admin background ———— this is a bigger problem
Screenshot of project Part
The template list is rendered with HBS templates
User edit page
The results of seemingly simple pages take the most time
Uploading a Template by the administrator
Note: this page can only be accessed by the user name admin
Personal center
My favorites and basic account Settings function
That’s it. Welcome star