til-log-lab / tilog-web-node-v2 Goto Github PK
View Code? Open in Web Editor NEWBlog platform for developers
Blog platform for developers
프론트 로그인 플로우는 다음과 같습니다.
위의 플로우 대로 이전 Login 관련 컴포넌트를 사용하여 tilog-open-api스팩에 맞게 구현합니다.
전체적인 로그인 로직은 여기를 참고하시면 됩니다.
위와 같은 문제점을 해결합니다.
해당 이슈는 #43 에서 디렉터리 수정으로 분리되었습니다.
포스트 디테일 컴포넌트 디자인
헤더 컴포넌트 디자인
TILogApp.getInitialProps = async (context: AppContext) => {
const { ctx } = context;
if (!(ctx.req && ctx.res)) return { pageProps: {} };
const session = await getIronSession(ctx.req, ctx.res, cookieConfig);
return { pageProps: session };
};
} else {
if (error.response?.status === 401) {
export async function getServerSideProps(context: {
req: {
cookies: {
refreshToken: GetAccessTokenUsingRefreshTokenResponse;
};
};
}) {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.