Skip to content

alistairjoelquinn/go-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Network Go Server

User profile image

In the final weeks at Spiced Academy students build a full stack social network application using React and Node / Express.js. Here is an alternative solution to the server API routes written in Go instead of Node. API routes have been written using Fiber due to it's similarity to Express.

User Login

Bcrypt is still being used for handling user password encryption. Once logged in or registered, unlike the Node server, JSON web tokens are being set in place of Node's cookie-session middleware.

User search

In terms of functionality, routes are largely similar to their Node counterparts. The go AWS SDK has a very similar API to that in Node when handling image uploads or using the email service.

User password reset

TODO: the final part of the project uses web sockets for instant chat. In the existing project, socket.io is being used for handling client - server communication. In the absence of a good server side socket.io v3 implementation, the decision has been made to re-write the existing client side code to utilise the native browser web socket API.

Chat room

About

Social network API routes in Go, with Fiber and Postgres.

Topics

Resources

Stars

Watchers

Forks