The goal of this project is building an server/client app for managing jekyll. (Optional: wrap it in an Electron app)
-[ ] Setup a server/client environment -[ ] Create an input field, read a folder path, pass back to server, server read the folder content, response it to client and client list the folder content for the user. -[ ] Clicking on a file open the content -[ ] Add text editor (probably monaco) to edit the file -[ ] Show the markdown preview of the content -[ ] Show the preview using Jekyll
$ yarn global add gulp-cli
$ touch Gulpfile.ts
Useful packages:
task('build', () => {
const project = tsc.createProject('tsconfig.json');
const {js, dts} = project.src()
.pipe(newer())
.pipe(sourcemaps.init())
.pipe(project());
})
-[ ] Using Typescript and React -[ ] Using Gulp for build tool -[ ] Livereload changes in Electron app
Notes for React:
render
has to return only one main html element (like <div>
)Component
has to interfaces, types, a <Props, Status>
Event
typesFrontend dependencies
Frontend dev dependencies
Backend dependencies
Backend development dependencies