My Implementation of the project built in the Linkedin Learning course Go for Web Development
-
- Write the main method
- Create the first route
- Running the application
-
- Be able to render a template
- Access query parameters
- Dynamically display query parameters
-
- Setup a database for development
- create database connection on the server
- Display connection status using template
-
- Create simple search UI
- Return data from server
- Dynamically Present data to the user
-
- Query data from calssify2 API
- Decode the XML response
- Display the results
-
- Add books to database
- send selected book to server
- save the selection
-
- Install web middleware
- Replace the default server with negrorni
- Create a database checker middleware
-
- add a new template engine
- use the new engine to render the template
- update the template file
-
- Update the page object
- Modify Template
- retrieve books from Database
-
- adding a remove button
- delete selected books from the database
- update the interface
-
- Install gmux
- replace default router
- Update routes
-
- Get go-gorp
- Setup database map
- Update the sql queries to use map
-
- Adding the sort UI
- update database query to use sorting
- remember the latest sort method in sessions
-
- Add filter UI
- update queries to filter
- Remember user filter choice
-
- Design Login template
- Build Login route
- Redirect Authenticated users to main page
-
- Get bcrypt package
- Create user table
- Store users in database
-
- Add user to session
- check if a user is logged in
- add logout
-
- Adding a foreign key (the username) to the books table, to associate a book with a user
- update the Database mapping
- fetch only books of specific user