An open-source e-commerce shop using React, Express, Firebase, and MongoDB. Designed for pandemic-relief and social good. The project is no longer actively maintained, but feel free to fork and use for your own purpose!
MIT License
26
stars
38
forks
source link
Milestone: Converting project to using Typescript #25
Right now, our project is all done in Javascript.
A better and more advanced way is to convert our project to Typescript. There's some tradeoffs, but I see this as an exercise for those who want to practice using Typescript.
There's a lot of code in this project, and converting everything to using Typescript is a daunting task.
So here's what we are going to do.
We are going to use a new branch titled "typescript." So that all of the work can be done in typescript, then we will merge the change into our master branch periodically.
Important
Please follow the steps below when doing Typescript conversion.
You should open a new issue titled with the structure of "Upgrading xx.js(x) to xx.ts(x)", where xx.js is the file you are converting to typescript.
Then, you want to self-assign yourself to the issue so that others know.
After the conversion, you may want to specify the path of the your file you have made changes on, as well as any other noteworthy code you have written.
Finally refer to this root issue (using #) and choose the "Typescripting our project" milestone in your issue.
Right now, our project is all done in Javascript. A better and more advanced way is to convert our project to Typescript. There's some tradeoffs, but I see this as an exercise for those who want to practice using Typescript. There's a lot of code in this project, and converting everything to using Typescript is a daunting task.
So here's what we are going to do. We are going to use a new branch titled "typescript." So that all of the work can be done in typescript, then we will merge the change into our master branch periodically.
Important
Please follow the steps below when doing Typescript conversion.
xx.js(x)
toxx.ts(x)
", wherexx.js
is the file you are converting to typescript.